![]() |
IOS Streaming Browser 1.0
An IOS streaming browser to stream the display to others or to a projector
|
#import <DDTTYLogger.h>
Static Public Member Functions | |
(DDTTYLogger *) | + sharedInstance |
Protected Attributes | |
BOOL | isaTTY |
NSDateFormatter * | dateFormatter |
char * | app |
char * | pid |
size_t | appLen |
size_t | pidLen |
Welcome to Cocoa Lumberjack!
The Google Code page has a wealth of documentation if you have any questions. http://code.google.com/p/cocoalumberjack/
If you're new to the project you may wish to read the "Getting Started" page. http://code.google.com/p/cocoalumberjack/wiki/GettingStarted
This class provides a logger for Terminal output or Xcode console output, depending on where you are running your code.
As described in the "Getting Started" page, the traditional NSLog() function directs it's output to two places:
To duplicate NSLog() functionality you can simply add this logger and an asl logger. However, if you instead choose to use file logging (for faster performance), you may choose to use only a file logger and a tty logger. Use the DDLogger protocol
Definition at line 33 of file DDTTYLogger.h.
+ (DDTTYLogger *) sharedInstance |
Class method
Class method Gets the shared instance returns DDTTYLogger
Definition at line 39 of file DDTTYLogger.m.
{ return sharedInstance; }
- (char*) app [protected] |
Not null terminated
Definition at line 50 of file DDTTYLogger.h.
- (size_t) appLen [protected] |
Definition at line 60 of file DDTTYLogger.h.
- (NSDateFormatter*) dateFormatter [protected] |
Definition at line 45 of file DDTTYLogger.h.
- (BOOL) isaTTY [protected] |
Definition at line 39 of file DDTTYLogger.h.
- (char*) pid [protected] |
Not null terminated
Definition at line 55 of file DDTTYLogger.h.
- (size_t) pidLen [protected] |
process id length
Definition at line 65 of file DDTTYLogger.h.