public class Logging extends Object
| Constructor and Description |
|---|
Logging()
Sets up default logging:
- INFO level
- Log entries are written to stderr
|
| Modifier and Type | Method and Description |
|---|---|
void |
disableConsole() |
void |
initialize(LoggingConfiguration config) |
void |
logToFile(String logPath,
int maxHistory,
long maxSizeInBytes) |
void |
setLevels(File file) |
public Logging()
public void disableConsole()
public void logToFile(String logPath, int maxHistory, long maxSizeInBytes)
public void setLevels(File file) throws IOException
IOExceptionpublic void initialize(LoggingConfiguration config) throws IOException
IOExceptionCopyright © 2010-2012 Proofpoint, Inc.. All Rights Reserved.