IOS Streaming Browser 1.0
An IOS streaming browser to stream the display to others or to a projector

<DDLogger> Protocol Reference

#import <DDLog.h>

Inheritance diagram for <DDLogger>:

Public Member Functions

(void) - logMessage:
(id< DDLogFormatter >) - logFormatter
(void) - setLogFormatter:
(void) - didAddLogger
(void) - willRemoveLogger

Detailed Description

Definition at line 386 of file DDLog.h.


Member Function Documentation

- (void) didAddLogger [optional]

Since logging is asynchronous, adding and removing loggers is also asynchronous. In other words, the loggers are added and removed at appropriate times with regards to log messages.

  • Loggers will not receive log messages that were executed prior to when they were added.
  • Loggers will not receive log messages that were executed after they were removed.

These methods are executed in the logging thread/queue. This is the same thread/queue that will execute every logMessage: invocation. Loggers may use these methods for thread synchronization or other setup/teardown tasks.

- (id <DDLogFormatter>) logFormatter [required]

Formatters may optionally be added to any logger. If no formatter is set, the logger simply logs the message as it is given in logMessage. Or it may use its own built in formatting style. returns id <DDLogFormatter>

Reimplemented in DDAbstractLogger.

- (void) logMessage: (DDLogMessage *)  logMessage [required]

param DDLogMessage

- (void) setLogFormatter: (id< DDLogFormatter >)  formatter [required]

param id <DDLogFormatter>

Reimplemented in DDAbstractLogger.

- (void) willRemoveLogger [optional]

The documentation for this protocol was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines