public class ConfigurationModuleSysOut extends Object implements ConfigurationModule
System.out
to the logging the proper logging context.
Attention: there could be a performance impact on your application
If you want to activate this module the property ENABLE_SYSOUT_REDIRECT
must have the value true.
ConfigurationModule
Modifier and Type | Field and Description |
---|---|
static String |
ENABLE_SYSOUT_REDIRECT
Property to enable the
System.out to the active logging context. |
Constructor and Description |
---|
ConfigurationModuleSysOut() |
Modifier and Type | Method and Description |
---|---|
void |
init(Configuration config)
Method that initialise the configuration module.
|
void |
unload()
Method that restores the configuration module and reset the system to the initial situation.
|
public static final String ENABLE_SYSOUT_REDIRECT
System.out
to the active logging context.public void init(Configuration config)
ConfigurationModule
init
in interface ConfigurationModule
public void unload() throws TechnicalConnectorException
ConfigurationModule
unload
in interface ConfigurationModule
TechnicalConnectorException
Connector Packaging TECHNICAL 4.3.0-beta-3 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.