public class SystemOutLogger extends java.lang.Object implements POILogger
Constructor and Description |
---|
SystemOutLogger() |
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
|
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 boolean check(int level)
check
in interface POILogger
level
- One of DEBUG, INFO, WARN, ERROR, FATALPOILogger.DEBUG
,
POILogger.INFO
,
POILogger.WARN
,
POILogger.ERROR
,
POILogger.FATAL
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.