HierarchyT

Ditto

Constructors

this
this(istring hlabel)

Construct a hierarchy with the given name.

Members

Functions

address
istring address()

Return the address of this Hierarchy. This is typically attached when sending events to remote monitors.

address
void address(istring address)

Set the address of this Hierarchy. The address is attached used when sending events to remote monitors.

context
ILogger.Context context()

Return the diagnostic context. Useful for setting an override logging level.

context
void context(ILogger.Context context)

Set the diagnostic context.

enabled
bool enabled(ILogger.Level level, ILogger.Level test)

Tells whether a given level is higher than another test level

label
istring label()
label
void label(istring value)

Set the name of this Hierarchy

lookup
LoggerT lookup(cstring label)

Return the instance of a LoggerT with the provided label. If the instance does not exist, it is created at this time.

opApply
int opApply(int delegate(ref LoggerT) dg)

Traverse the set of configured loggers

propagateValue
void propagateValue(istring parent_name, T value)

Propagates the property to all child loggers.

root
LoggerT root()

Return the root node.

Inherited Members

From Context

label
istring label()

return a label for this context

enabled
bool enabled(Level setting, Level target)

first arg is the setting of the logger itself, and the second arg is what kind of message we're being asked to produce

Meta