Log4gRootLogger

Log4gRootLogger — The root logger

Synopsis

                    Log4gRootLogger;
                    Log4gRootLoggerClass;
Log4gLogger *       log4g_root_logger_new               (Log4gLevel *level);

Description

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)

Details

Log4gRootLogger

typedef struct {
} Log4gRootLogger;

The Log4gRootLogger structure does not have any public members.


Log4gRootLoggerClass

typedef struct {
} Log4gRootLoggerClass;

The Log4gRootLogger structure does not have any public members.


log4g_root_logger_new ()

Log4gLogger *       log4g_root_logger_new               (Log4gLevel *level);

Create a new root logger.

level :

The level threshold of this root logger.

Returns :

A new root logger object.

Since 0.1