![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
Instance Methods | |
(void) | - asyncLogMessage: |
(void) | - endLogging |
(void) | - changeFile |
(BOOL) | - startLogging |
(void) | - loggerThread |
(void) | - flushLog |
(id) | - init [implementation] |
(void) | - dealloc [implementation] |
Private Attributes | |
OOAsyncQueue * | messageQueue |
NSConditionLock * | threadStateMonitor |
NSFileHandle * | logFile |
NSTimer * | flushTimer |
Definition at line 89 of file OOLogOutputHandler.m.
- (void) asyncLogMessage: | (NSString *) | message |
Definition at line 387 of file OOLogOutputHandler.m.
References OOAsyncQueue::enqueue:, flushTimer, nil, and sSaturated.
Referenced by endLogging, and OOLogOutputHandlerPrint().
- (void) changeFile |
Definition at line 380 of file OOLogOutputHandler.m.
References changeFile, endLogging, startLogging, and sWriteToStderr.
Referenced by changeFile, and OOLogOutputHandlerChangeLogFile().
|
implementation |
Definition at line 284 of file OOLogOutputHandler.m.
References dealloc, DESTROY, logFile, messageQueue, and threadStateMonitor.
Referenced by dealloc.
- (void) endLogging |
Definition at line 362 of file OOLogOutputHandler.m.
References asyncLogMessage:, endLogging, OOAsyncQueue::enqueue:, messageQueue, nil, and threadStateMonitor.
Referenced by changeFile, endLogging, and OOLogOutputHandlerClose().
- (void) flushLog |
Definition at line 413 of file OOLogOutputHandler.m.
References OOAsyncQueue::enqueue:, flushLog, flushTimer, and nil.
Referenced by flushLog.
|
implementation |
Definition at line 245 of file OOLogOutputHandler.m.
References DESTROY, init, nil, NSLog, OOLogHandlerGetLogPath(), and startLogging.
Referenced by init.
- (void) loggerThread |
Definition at line 420 of file OOLogOutputHandler.m.
References OOAsyncQueue::dequeue, loggerThread, nil, and sSaturated.
Referenced by loggerThread.
- (BOOL) startLogging |
Definition at line 295 of file OOLogOutputHandler.m.
References OOAsyncQueue::enqueue:, kConditionWorking, logFile, messageQueue, nil, NSLog, OOLogHandlerGetLogPath(), startLogging, and threadStateMonitor.
Referenced by changeFile, init, and startLogging.
|
private |
Definition at line 95 of file OOLogOutputHandler.m.
Referenced by asyncLogMessage:, and flushLog.
|
private |
Definition at line 94 of file OOLogOutputHandler.m.
Referenced by dealloc, and startLogging.
|
private |
Definition at line 92 of file OOLogOutputHandler.m.
Referenced by dealloc, endLogging, and startLogging.
|
private |
Definition at line 93 of file OOLogOutputHandler.m.
Referenced by dealloc, endLogging, and startLogging.