Log4g Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Log4gRootLogger;
Log4gRootLoggerClass;
Log4gLogger * log4g_root_logger_new (Log4gLevel *level
);
The root logger sits on top of the logger hierarchy. It is a normal logger with the following exceptions:
It may not be assigned a NULL level threshold
The root logger cannot have a parent (the Log4gLoggerClass.get_effective_level method always returns the value of the level field without walking the hierarchy)
typedef struct { } Log4gRootLogger;
The Log4gRootLogger structure does not have any public members.
typedef struct { } Log4gRootLoggerClass;
The Log4gRootLogger structure does not have any public members.
Log4gLogger * log4g_root_logger_new (Log4gLevel *level
);
Create a new root logger.
|
The level threshold of this root logger. |
Returns : |
A new root logger object. |
Since 0.1