@Internal public class NullLogger extends java.lang.Object implements POILogger
POILogger
.
This can be used to not log anything, however the suggested approach
in production systems is to use the CommonsLogger
and configure
proper log-handling via Apache Commons Logging.Constructor and Description |
---|
NullLogger() |
Modifier and Type | Method and Description |
---|---|
void |
_log(int level,
java.lang.Object obj1)
Log a message
|
void |
_log(int level,
java.lang.Object obj1,
java.lang.Throwable exception)
Log a message
|
boolean |
check(int level)
Check if a logger is enabled to log at the specified level
|
void |
initialize(java.lang.String cat)
Initialize the Logger - belongs to the SPI, called from the POILogFactory
|
void |
log(int level,
java.lang.Object... objs)
Log a message.
|
public void initialize(java.lang.String cat)
POILogger
initialize
in interface POILogger
cat
- the String that defines the logpublic void _log(int level, java.lang.Object obj1)
public void _log(int level, java.lang.Object obj1, java.lang.Throwable exception)
public void log(int level, java.lang.Object... objs)
Throwable
it is logged specially.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.