Modifier and Type | Class and Description |
---|---|
static class |
LogInit.EnterpriseLogFilter
Log filter that uses strings as category objects.
|
Modifier and Type | Field and Description |
---|---|
static MemoryLogger |
MEMORY_LOGGER
The single memory logger for an application.
|
Constructor and Description |
---|
LogInit()
Constructor given no arguments.
|
Modifier and Type | Method and Description |
---|---|
static void |
init(Properties props,
String source)
Initialize the logging capability as specified in the configuration.
|
public static final MemoryLogger MEMORY_LOGGER
public LogInit() throws IllegalStateException
IllegalStateException
- If the class is instantiated.public static void init(Properties props, String source) throws ClassNotFoundException, IllegalAccessException, InstantiationException
props
- The system properties.source
- The default source to be included in messages.Exception
- If the logging capability cannot be initialized.ClassNotFoundException
IllegalAccessException
InstantiationException
Copyright © 1999–2017 Apache OODT. All rights reserved.