public class OLogManager extends Object
Modifier | Constructor and Description |
---|---|
protected |
OLogManager() |
Modifier and Type | Method and Description |
---|---|
void |
applyStorageFilter()
Start filter out all messages which are logged using
errorStorage(Object, String,
Throwable, Object...) method. |
void |
config(Object iRequester,
String iMessage,
Object... iAdditionalArgs) |
void |
debug(Object iRequester,
String iMessage,
Object... iAdditionalArgs) |
void |
debug(Object iRequester,
String iMessage,
Throwable iException,
Object... iAdditionalArgs) |
void |
debugNoDb(Object iRequester,
String iMessage,
Throwable iException,
Object... iAdditionalArgs) |
void |
error(Object iRequester,
String iMessage,
Throwable iException,
Object... iAdditionalArgs) |
void |
errorNoDb(Object iRequester,
String iMessage,
Throwable iException,
Object... iAdditionalArgs) |
void |
errorStorage(Object iRequester,
String iMessage,
Throwable iException,
Object... iAdditionalArgs) |
void |
flush() |
OCommandOutputListener |
getCommandOutputListener(Object iThis,
Level iLevel) |
void |
info(Object iRequester,
String iMessage,
Object... iAdditionalArgs) |
void |
info(Object iRequester,
String iMessage,
Throwable iException,
Object... iAdditionalArgs) |
void |
infoNoDb(Object iRequester,
String iMessage,
Object... iAdditionalArgs) |
void |
installCustomFormatter() |
static OLogManager |
instance() |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isLevelEnabled(Level level) |
boolean |
isShutdown() |
boolean |
isWarn() |
boolean |
isWarnEnabled() |
void |
log(Object iRequester,
Level iLevel,
String iMessage,
Throwable iException,
boolean extractDatabase,
com.orientechnologies.common.log.OLogManager.LogLabel label,
Object... iAdditionalArgs) |
void |
setConsoleLevel(String iLevel) |
void |
setDebugEnabled(boolean debug) |
void |
setErrorEnabled(boolean error) |
void |
setFileLevel(String iLevel) |
void |
setInfoEnabled(boolean info) |
Level |
setLevel(String iLevel,
Class<? extends Handler> iHandler) |
protected void |
setLevelInternal(Level level) |
void |
setWarnEnabled(boolean warn) |
void |
shutdown()
Shutdowns this log manager.
|
void |
warn(Object iRequester,
String iMessage,
Object... iAdditionalArgs) |
void |
warn(Object iRequester,
String iMessage,
Throwable iException,
Object... iAdditionalArgs) |
void |
warnNoDb(Object iRequester,
String iMessage,
Object... iAdditionalArgs) |
public static OLogManager instance()
public void installCustomFormatter()
public void setConsoleLevel(String iLevel)
public void setFileLevel(String iLevel)
public void applyStorageFilter()
errorStorage(Object, String,
Throwable, Object...)
method.public void log(Object iRequester, Level iLevel, String iMessage, Throwable iException, boolean extractDatabase, com.orientechnologies.common.log.OLogManager.LogLabel label, Object... iAdditionalArgs)
public void debug(Object iRequester, String iMessage, Throwable iException, Object... iAdditionalArgs)
public void debugNoDb(Object iRequester, String iMessage, Throwable iException, Object... iAdditionalArgs)
public void info(Object iRequester, String iMessage, Throwable iException, Object... iAdditionalArgs)
public void warn(Object iRequester, String iMessage, Throwable iException, Object... iAdditionalArgs)
public void error(Object iRequester, String iMessage, Throwable iException, Object... iAdditionalArgs)
public void errorNoDb(Object iRequester, String iMessage, Throwable iException, Object... iAdditionalArgs)
public void errorStorage(Object iRequester, String iMessage, Throwable iException, Object... iAdditionalArgs)
public boolean isWarn()
public boolean isLevelEnabled(Level level)
public boolean isDebugEnabled()
public void setDebugEnabled(boolean debug)
public boolean isInfoEnabled()
public void setInfoEnabled(boolean info)
public boolean isWarnEnabled()
public void setWarnEnabled(boolean warn)
public boolean isErrorEnabled()
public void setErrorEnabled(boolean error)
protected void setLevelInternal(Level level)
public void flush()
public OCommandOutputListener getCommandOutputListener(Object iThis, Level iLevel)
public void shutdown()
public boolean isShutdown()
true
if log manager is shutdown by shutdown()
method and no
logging is possible.Copyright © 2009–2020 OrientDB. All rights reserved.