- Adopted by:
- DSystemLogger, DTextWritableLogger
- Declared in:
- DLogger.h
Protocol Description
The DLogger protocol specifies methods for classes that can perform logging.
This is done by logging of events. Every event has a level (DLOG_PANIC..) and
a message. To prevent logging of massive amounts of events, the logger can
mask events with a certain level(s).
- Last modified:
- 23-Nov-2004 (DLogger.h)
Method Index
- - (BOOL) doLog :(int) level :(const char *) message
- Log an event by the logger
- Parameters:
- level - the level of the event
message - the message to be logged
- Returns:
- success
- - (int) mask :(unsigned) levels
- Set the level mask
- Parameters:
- level - the levels (ored)
- Returns:
- the previous mask
- - (int) mask :(unsigned) high :(unsigned) low
- Set the level mask range
- Parameters:
- high - the highest level to mask
low - the lowest level to mask
- Returns:
- the previous mask
generated 25-Jul-2006 by ObjcDoc 3.0.0