org.apache.commons.logging.Log
public final class TinylogLog extends Object implements org.apache.commons.logging.Log
Constructor | Description |
---|---|
TinylogLog(String name) |
Modifier and Type | Method | Description |
---|---|---|
void |
debug(Object message) |
|
void |
debug(Object message,
Throwable exception) |
|
void |
error(Object message) |
|
void |
error(Object message,
Throwable exception) |
|
void |
fatal(Object message) |
|
void |
fatal(Object message,
Throwable exception) |
|
void |
info(Object message) |
|
void |
info(Object message,
Throwable exception) |
|
boolean |
isDebugEnabled() |
|
boolean |
isErrorEnabled() |
|
boolean |
isFatalEnabled() |
|
boolean |
isInfoEnabled() |
|
boolean |
isTraceEnabled() |
|
boolean |
isWarnEnabled() |
|
void |
trace(Object message) |
|
void |
trace(Object message,
Throwable exception) |
|
void |
warn(Object message) |
|
void |
warn(Object message,
Throwable exception) |
public TinylogLog(String name)
name
- Name of logger (will be ignored)public boolean isTraceEnabled()
isTraceEnabled
in interface org.apache.commons.logging.Log
public void trace(Object message)
trace
in interface org.apache.commons.logging.Log
public void trace(Object message, Throwable exception)
trace
in interface org.apache.commons.logging.Log
public boolean isDebugEnabled()
isDebugEnabled
in interface org.apache.commons.logging.Log
public void debug(Object message)
debug
in interface org.apache.commons.logging.Log
public void debug(Object message, Throwable exception)
debug
in interface org.apache.commons.logging.Log
public boolean isInfoEnabled()
isInfoEnabled
in interface org.apache.commons.logging.Log
public void info(Object message)
info
in interface org.apache.commons.logging.Log
public void info(Object message, Throwable exception)
info
in interface org.apache.commons.logging.Log
public boolean isWarnEnabled()
isWarnEnabled
in interface org.apache.commons.logging.Log
public void warn(Object message)
warn
in interface org.apache.commons.logging.Log
public void warn(Object message, Throwable exception)
warn
in interface org.apache.commons.logging.Log
public boolean isErrorEnabled()
isErrorEnabled
in interface org.apache.commons.logging.Log
public void error(Object message)
error
in interface org.apache.commons.logging.Log
public void error(Object message, Throwable exception)
error
in interface org.apache.commons.logging.Log
public boolean isFatalEnabled()
isFatalEnabled
in interface org.apache.commons.logging.Log
public void fatal(Object message)
fatal
in interface org.apache.commons.logging.Log
Copyright © 2019. All rights reserved.