Class SystemOutLoggerFactory.SystemOutLogger
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.logging.BaseLogger
-
- net.adoptopenjdk.icedteaweb.logging.SystemOutLoggerFactory.SystemOutLogger
-
- All Implemented Interfaces:
Logger
- Enclosing class:
- SystemOutLoggerFactory
private static class SystemOutLoggerFactory.SystemOutLogger extends BaseLogger
-
-
Constructor Summary
Constructors Constructor Description SystemOutLogger(java.lang.Class<?> forClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(java.lang.String msg)Log a message at theDEBUGlevel.voiddebug(java.lang.String msg, java.lang.Object... arguments)Log a message at theDEBUGlevel.voiddebug(java.lang.String msg, java.lang.Throwable t)Log a message and an exception at theDEBUGlevel.voiderror(java.lang.String msg)Log a message at theERRORlevel.voiderror(java.lang.String msg, java.lang.Object... arguments)Log a message at theERRORlevel.voiderror(java.lang.String msg, java.lang.Throwable t)Log a message and an exception at theERRORlevel.voidinfo(java.lang.String msg)Log a message at theINFOlevel.voidinfo(java.lang.String msg, java.lang.Object... arguments)Log a message at theINFOlevel.voidinfo(java.lang.String msg, java.lang.Throwable t)Log a message and an exception at theINFOlevel.private voidlog(java.lang.String level, java.lang.String msg, java.lang.Throwable t)voidwarn(java.lang.String msg)Log a message at theWARNlevel.voidwarn(java.lang.String msg, java.lang.Object... arguments)Log a message at theWARNlevel.voidwarn(java.lang.String msg, java.lang.Throwable t)Log a message and an exception at theWARNlevel.-
Methods inherited from class net.adoptopenjdk.icedteaweb.logging.BaseLogger
doExpand, expand
-
-
-
-
Field Detail
-
DEBUG
private static final java.lang.String DEBUG
- See Also:
- Constant Field Values
-
INFO
private static final java.lang.String INFO
- See Also:
- Constant Field Values
-
WARNING
private static final java.lang.String WARNING
- See Also:
- Constant Field Values
-
ERROR
private static final java.lang.String ERROR
- See Also:
- Constant Field Values
-
forClass
private final java.lang.String forClass
-
-
Method Detail
-
debug
public void debug(java.lang.String msg)
Description copied from interface:LoggerLog a message at theDEBUGlevel.- Parameters:
msg- the message to be logged
-
debug
public void debug(java.lang.String msg, java.lang.Object... arguments)Description copied from interface:LoggerLog a message at theDEBUGlevel. Replace{}with the given arguments- Parameters:
msg- the message to be loggedarguments- a list of 3 or more arguments for replacement
-
debug
public void debug(java.lang.String msg, java.lang.Throwable t)Description copied from interface:LoggerLog a message and an exception at theDEBUGlevel.- Parameters:
msg- the message to be loggedt- the exception to be logged
-
info
public void info(java.lang.String msg)
Description copied from interface:LoggerLog a message at theINFOlevel.- Parameters:
msg- the message to be logged
-
info
public void info(java.lang.String msg, java.lang.Object... arguments)Description copied from interface:LoggerLog a message at theINFOlevel. Replace{}with the given arguments- Parameters:
msg- the message to be loggedarguments- a list of 3 or more arguments for replacement
-
info
public void info(java.lang.String msg, java.lang.Throwable t)Description copied from interface:LoggerLog a message and an exception at theINFOlevel.- Parameters:
msg- the message to be loggedt- the exception to be logged
-
warn
public void warn(java.lang.String msg)
Description copied from interface:LoggerLog a message at theWARNlevel.- Parameters:
msg- the message to be logged
-
warn
public void warn(java.lang.String msg, java.lang.Object... arguments)Description copied from interface:LoggerLog a message at theWARNlevel. Replace{}with the given arguments- Parameters:
msg- the message to be loggedarguments- a list of 3 or more arguments for replacement
-
warn
public void warn(java.lang.String msg, java.lang.Throwable t)Description copied from interface:LoggerLog a message and an exception at theWARNlevel.- Parameters:
msg- the message to be loggedt- the exception to be logged
-
error
public void error(java.lang.String msg)
Description copied from interface:LoggerLog a message at theERRORlevel.- Parameters:
msg- the message to be logged
-
error
public void error(java.lang.String msg, java.lang.Object... arguments)Description copied from interface:LoggerLog a message at theERRORlevel. Replace{}with the given arguments- Parameters:
msg- the message to be loggedarguments- a list of 3 or more arguments for replacement
-
error
public void error(java.lang.String msg, java.lang.Throwable t)Description copied from interface:LoggerLog a message and an exception at theERRORlevel.- Parameters:
msg- the message to be loggedt- the exception to be logged
-
log
private void log(java.lang.String level, java.lang.String msg, java.lang.Throwable t)
-
-