public class CommonsLogger extends java.lang.Object implements POILogger
POILogger using the
Apache Commons Logging framework. Which itself can be configured to
send log to various different log frameworks and even allows to create
a small wrapper for custom log frameworks.| Constructor and Description |
|---|
CommonsLogger() |
| 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)
POILoggerinitialize in interface POILoggercat - 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)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.