Changeset 34 for trunk/VerboseApp.d
- Timestamp:
- 01/04/09 08:20:43 (3 years ago)
- Files:
-
- trunk/VerboseApp.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/VerboseApp.d
r24 r34 3 3 import fcgi.Request; 4 4 5 import tango.io.stream.Format; 5 6 import tango.text.convert.Layout; 6 import tango.io.Print;7 import tango.io.Buffer;8 7 9 8 class MyApp : FastCGIApplication 10 9 { 11 private Print!(char) stdout;12 private Print!(char) stderr;10 private FormatOutput!(char) stdout; 11 private FormatOutput!(char) stderr; 13 12 private static int counter = 0; 14 13 … … 16 15 { 17 16 auto layout = new Layout!(char) (); 18 stdout = new Print!(char) (layout, request.stdout); 19 stderr = new Print!(char) (layout, request.stderr); 17 18 stdout = new FormatOutput!(char) (layout, request.stdout); 19 stderr = new FormatOutput!(char) (layout, request.stderr); 20 20 21 } 21 22
