ILogger

Ditto

Members

Enums

Level
enum Level

Defines the level at which a message can be logged

Functions

additive
bool additive()
additive
ILogger additive(bool enabled)

Set the additive status of this logger

append
ILogger append(Level level, cstring exp)

Send a message to this logger.

enabled
bool enabled(Level level)
level
Level level()
level
ILogger level(Level l)

Set the current Level for this logger (and only this logger).

name
cstring name()

Interfaces

Context
interface Context

Context for a hierarchy, used for customizing behaviour of log hierarchies. You can use this to implement dynamic log-levels, based upon filtering or some other mechanism

Static functions

convert
Level convert(cstring name, Level def)

Return the enum value associated with name, or a default value

convert
istring convert(Level level)

Return the name associated with level

Meta