public class LoggerFactory extends Object
Logger
. In the implementation users can choose how they log received messages. Added for developers. For some cases it can be handy to receive logging statements while developing applications with iText
Modifier and Type | Method and Description |
---|---|
static LoggerFactory |
getInstance()
Returns the LoggerFactory
|
static Logger |
getLogger(Class> klass)
Returns the logger set in this LoggerFactory.
|
static Logger |
getLogger(String name)
Returns the logger set in this LoggerFactory.
|
Logger |
logger()
Get the logger.
|
void |
setLogger(Logger logger)
Set the global logger to process logging statements with.
|
public static Logger getLogger(Class> klass)
NoOpLogger
klass
-
public static Logger getLogger(String name)
NoOpLogger
name
-
public static LoggerFactory getInstance()
public void setLogger(Logger logger)
logger
- the logger
public Logger logger()
Copyright © 1998–2022. All rights reserved.