public final class StandardLogService extends Object implements LogService
LogService| Constructor and Description |
|---|
StandardLogService() |
StandardLogService(String clazzName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
audit(String msg)
log audit log
|
void |
debug(String message) |
void |
error(String message) |
void |
error(Throwable throwable) |
void |
error(Throwable throwable,
String message) |
static String |
getPartitionID(String tableName) |
void |
info(String message) |
boolean |
isDebugEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
setEventProperties(String propertyName,
String propertyValue) |
static void |
setThreadName(String partitionID,
String queryID) |
void |
statistic(String message)
Below method will be used to log the statistic information
|
void |
warn(String message) |
public StandardLogService(String clazzName)
clazzName - for which the Logging is requiredpublic StandardLogService()
public boolean isDebugEnabled()
isDebugEnabled in interface LogServicepublic boolean isWarnEnabled()
isWarnEnabled in interface LogServicepublic void debug(String message)
debug in interface LogServicepublic void error(String message)
error in interface LogServicepublic void error(Throwable throwable, String message)
error in interface LogServicepublic void error(Throwable throwable)
error in interface LogServicepublic void info(String message)
info in interface LogServicepublic boolean isInfoEnabled()
isInfoEnabled in interface LogServicepublic void warn(String message)
warn in interface LogServicepublic void audit(String msg)
audit in interface LogServicemsg - audit log messagepublic void statistic(String message)
LogServicestatistic in interface LogServicemessage - statistic messageCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.