1 /******************************************************************************* 2 3 Extension for the LogExt ConfigExt extension. 4 5 Copyright: 6 Copyright (c) 2009-2016 dunnhumby Germany GmbH. 7 All rights reserved. 8 9 License: 10 Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. 11 Alternatively, this file may be distributed under the terms of the Tango 12 3-Clause BSD License (see LICENSE_BSD.txt for details). 13 14 *******************************************************************************/ 15 16 module ocean.util.app.ext.model.ILogExtExtension; 17 18 19 20 21 public import ocean.util.app.model.IApplication; 22 public import ocean.util.config.ConfigParser : ConfigParser; 23 24 import ocean.util.app.model.IExtension; 25 26 27 28 /******************************************************************************* 29 30 Interface for extensions for the LogExt extension. 31 32 *******************************************************************************/ 33 34 interface ILogExtExtension : IExtension 35 { 36 37 /*************************************************************************** 38 39 Function executed before the loggers are configured. 40 41 Params: 42 app = application instance 43 config = configuration parser 44 loose_config_parsing = true if errors shouldn't be triggered on 45 unknown configuration options 46 use_insert_appender = true if the InsertConsole appender should be 47 used (needed when using the AppStatus module) 48 49 ***************************************************************************/ 50 51 void preConfigureLoggers ( IApplication app, ConfigParser config, 52 bool loose_config_parsing, bool use_insert_appender ); 53 54 55 /*************************************************************************** 56 57 Function executed after the loggers are configured. 58 59 Params: 60 app = application instance 61 config = configuration parser 62 loose_config_parsing = true if errors shouldn't be triggered on 63 unknown configuration options 64 use_insert_appender = true if the InsertConsole appender should be 65 used (needed when using the AppStatus module) 66 67 ***************************************************************************/ 68 69 void postConfigureLoggers ( IApplication app, ConfigParser config, 70 bool loose_config_parsing, bool use_insert_appender ); 71 72 } 73