public class SLF4JLogger extends java.lang.Object implements POILogger
POILogger
using the
SLF4J 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 |
---|
SLF4JLogger() |
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)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.