public class Logger
extends java.lang.Object
| Constructor and Description |
|---|
Logger() |
| Modifier and Type | Method and Description |
|---|---|
static void |
debug(java.lang.String s)
Log a debug message
|
static void |
error(java.lang.String s)
Log an error message
|
static void |
info(java.lang.String s)
Log an info message
|
static void |
installLoggerFactory(LoggerFactory loggerFactory)
Install a LoggerFactory to be used throughout the DiSCo agent.
|
static void |
suppressIfAgentNotPresent(boolean suppress)
Set whether to suppress messages when the agent is not present.
|
static void |
warn(java.lang.String s)
Log a warning message
|
public static void installLoggerFactory(LoggerFactory loggerFactory)
loggerFactory - the client-supplied LoggerFactory instance to be usedpublic static void debug(java.lang.String s)
s - the messagepublic static void info(java.lang.String s)
s - the messagepublic static void warn(java.lang.String s)
s - the messagepublic static void error(java.lang.String s)
s - the messagepublic static void suppressIfAgentNotPresent(boolean suppress)
suppress - false to suppress logging when no Agent is present