LogExt

Application extension to parse configuration files for the logging system.

This extension is an extension itself, providing new hooks via ILogExtExtension.

Constructors

this
this(bool use_insert_appender)

Constructor.

this
this(Appender.Layout delegate(cstring name) make_layout, bool use_insert_appender)

Constructor.

Members

Functions

filterConfigFiles
istring[] filterConfigFiles(IApplication app, ConfigParser config, istring[] files)

Function to filter the list of configuration files to parse. Only present to satisfy the interface

order
int order()

Extension order. This extension uses -1_000 because it should be called early, but after the ConfigExt extension.

preParseConfig
void preParseConfig(IApplication app, ConfigParser config)

Unused IConfigExtExtension methods.

processConfig
void processConfig(IApplication app, ConfigParser config)

Parse the configuration file options to set up the loggers.

Mixins

__anonymous
mixin ExtensibleClassMixin!(ILogExtExtension)

Adds a list of extensions (this.extensions) and methods to handle them. See ExtensibleClassMixin documentation for details.

Variables

use_insert_appender
bool use_insert_appender;

True if the InsertConsole appender should be used instead of the regular one. The InsertConsole appender is needed when using the AppStatus module.

Inherited Members

From IConfigExtExtension

preParseConfig
void preParseConfig(IApplication app, ConfigParser config)

Function executed before the configuration files are parsed.

filterConfigFiles
istring[] filterConfigFiles(IApplication app, ConfigParser config, istring[] files)

Function to filter the list of configuration files to parse.

processConfig
void processConfig(IApplication app, ConfigParser config)

Function executed after the configuration files are parsed.

Meta