Log4gBasicConfigurator

Log4gBasicConfigurator — Quickly configure Log4g

Synopsis

void                log4g_basic_configurator_configure  (void);
void                log4g_basic_configurator_configure_appender
                                                        (Log4gAppender *appender);
void                log4g_basic_configurator_reset_configuration
                                                        (void);

Description

For file based configuration, see Log4gDOMConfigurator

Details

log4g_basic_configurator_configure ()

void                log4g_basic_configurator_configure  (void);

Quickly configure Log4g.

This function adds a console appender to the root logger that uses the TTCC layout and prints to stdout.

See: Log4gRootLogger, Log4gTTCCLayout

Since 0.1


log4g_basic_configurator_configure_appender ()

void                log4g_basic_configurator_configure_appender
                                                        (Log4gAppender *appender);

Add an appender to the root category.

appender :

The appender to add to the root category.

Since 0.1


log4g_basic_configurator_reset_configuration ()

void                log4g_basic_configurator_reset_configuration
                                                        (void);

Reset the default hierarchy to its default state.

Since 0.1