| 限定符和类型 | 方法和说明 |
|---|---|
void |
debug(Object message)
Do nothing
|
void |
debug(Object message,
Throwable t)
Do nothing
|
void |
error(Object message)
Do nothing
|
void |
error(Object message,
Throwable t)
Do nothing
|
void |
fatal(Object message)
Do nothing
|
void |
fatal(Object message,
Throwable t)
Do nothing
|
void |
info(Object message)
Do nothing
|
void |
info(Object message,
Throwable t)
Do nothing
|
boolean |
isDebugEnabled()
Debug is never enabled.
|
boolean |
isErrorEnabled()
Error is never enabled.
|
boolean |
isFatalEnabled()
Fatal is never enabled.
|
boolean |
isInfoEnabled()
Info is never enabled.
|
boolean |
isTraceEnabled()
Trace is never enabled.
|
boolean |
isWarnEnabled()
Warning is never enabled.
|
void |
trace(Object message)
Do nothing
|
void |
trace(Object message,
Throwable t)
Do nothing
|
void |
warn(Object message)
Do nothing
|
void |
warn(Object message,
Throwable t)
Do nothing
|
public NoOpLog()
public NoOpLog(String name)
public void trace(Object message)
public void debug(Object message)
public void error(Object message)
public void fatal(Object message)
public final boolean isDebugEnabled()
isDebugEnabled 在接口中 Logpublic final boolean isErrorEnabled()
isErrorEnabled 在接口中 Logpublic final boolean isFatalEnabled()
isFatalEnabled 在接口中 Logpublic final boolean isInfoEnabled()
isInfoEnabled 在接口中 Logpublic final boolean isTraceEnabled()
isTraceEnabled 在接口中 Logpublic final boolean isWarnEnabled()
isWarnEnabled 在接口中 LogCopyright © 2023 onecode. All rights reserved.