Extracted at 2009-10-25.
pike.ida.liu.se
[Top]
Tools
Tools.Logging

Method Tools.Logging.create()


Method create

void Tools.Logging()

Description

configuration file is standard ini-style.

[logger.logger_name] <-- configures a logger named "logger_name" appender=appender_name <-- use the appender "appender_name" class=Some.Pike.Class <-- use the specified pike class for appending, defaults to Tools.Logging.Log.Logger

[appender.appender_name] <-- configures an appender named "appender_name" class=Some.Pike.Class <-- use the specified pike class for appending

example: Tools.Logging.Log.FileAppender uses argument "file" to specify logging file

if the configuring application specifies any, you may use substitution variables in the form ${varname} in your configuration values.