configureNewLoggers

Sets up logging configuration for ocean.util.log.Logger

Calls the provided file_appender delegate once per log being configured and passes the returned appender to the log's add() method.

  1. void configureNewLoggers(ConfigIterator config, MetaConfig m_config, Appender delegate(istring file, Layout layout) file_appender, bool use_insert_appender)
  2. void configureNewLoggers(ConfigIterator config, MetaConfig m_config, Appender delegate(istring file, Layout layout) file_appender, Layout delegate(cstring) makeLayout, bool use_insert_appender)

Parameters

config ConfigIterator

an instance of an class iterator for Config

m_config MetaConfig

an instance of the MetaConfig class

file_appender Appender delegate

delegate which returns appender instances to write to a file

use_insert_appender bool

true if the InsertConsole appender should be used (needed when using the AppStatus module)

Meta