Package com.killcoding.log
Class Logger
java.lang.Object
com.killcoding.log.Logger
This is logger class
Sample,
Logger log = LoggerFactory.getLogger(clazz);
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancheckClassNameDisableRegex(String logClassName) private booleancheckClassNameEnableRegex(String logClassName) protected static booleancheckLevel(String _level) private static String[]converParams(Object... params) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidbooleanbooleanbooleanbooleanprotected voidprivate static voidprivate static voidvoidvoidprotected static voidsetClassNameDisableRegex(String _classNameDisableRegex) protected static voidsetClassNameEnableRegex(String _classNameEnableRegex) private static voidprotected static voidstatic voidsystemDebug(Class clazz, Exception exception) static voidsystemDebug(Class clazz, String message) static voidsystemDebug(Class clazz, String message, Exception exception) static voidsystemDebug(Class clazz, String message, Object... params) static voidsystemDebug(String clazz, Exception exception) static voidsystemDebug(String clazz, String message) static voidsystemDebug(String clazz, String message, Exception exception) static voidsystemDebug(String clazz, String message, Object... params) static voidsystemError(Class clazz, Exception exception) static voidsystemError(Class clazz, String message) static voidsystemError(Class clazz, String message, Exception exception) static voidsystemError(Class clazz, String message, Object... params) static voidsystemError(String clazz, Exception exception) static voidsystemError(String clazz, String message) static voidsystemError(String clazz, String message, Exception exception) static voidsystemError(String clazz, String message, Object... params) static voidsystemInfo(Class clazz, Exception exception) static voidsystemInfo(Class clazz, String message) static voidsystemInfo(Class clazz, String message, Exception exception) static voidsystemInfo(Class clazz, String message, Object... params) static voidsystemInfo(String clazz, Exception exception) static voidsystemInfo(String clazz, String message) static voidsystemInfo(String clazz, String message, Exception exception) static voidsystemInfo(String clazz, String message, Object... params) static voidsystemMark(Class clazz, String message, Exception exception) static voidsystemMark(Class clazz, String message, Object... params) static voidsystemMark(String clazz, String message, Exception exception) static voidsystemMark(String clazz, String message, Object... params) static voidsystemWarn(Class clazz, Exception exception) static voidsystemWarn(Class clazz, String message) static voidsystemWarn(Class clazz, String message, Exception exception) static voidsystemWarn(Class clazz, String message, Object... params) static voidsystemWarn(String clazz, Exception exception) static voidsystemWarn(String clazz, String message) static voidsystemWarn(String clazz, String message, Exception exception) static voidsystemWarn(String clazz, String message, Object... params) private Stringvoidvoidvoidvoid
-
Field Details
-
DEFAULT_MESSAGE_FORMAT
- See Also:
-
LEVEL_LIST
-
LEVEL_DEBUG
-
LEVEL_INFO
-
LEVEL_WARN
-
LEVEL_ERROR
-
LEVEL_MARK
-
LEVEL
-
clazzName
-
hostname
-
classNameEnableRegex
-
classNameDisableRegex
-
-
Constructor Details
-
Logger
-
Logger
-
-
Method Details
-
setClassNameEnableRegex
-
setClassNameDisableRegex
-
checkLevel
-
setLevel
-
setLevel
-
isDebugEnabled
-
isInfoEnabled
-
isWarnEnabled
-
isErrorEnabled
-
debug
-
debug
-
debug
-
debug
-
info
-
info
-
info
-
info
-
warn
-
warn
-
warn
-
warn
-
error
-
error
-
error
-
error
-
mark
-
mark
-
systemError
-
systemError
-
systemMark
-
systemMark
-
systemMark
-
systemMark
-
systemError
-
systemError
-
systemError
-
systemError
-
systemError
-
systemError
-
systemWarn
-
systemWarn
-
systemWarn
-
systemWarn
-
systemWarn
-
systemWarn
-
systemWarn
-
systemWarn
-
systemInfo
-
systemInfo
-
systemInfo
-
systemInfo
-
systemInfo
-
systemInfo
-
systemInfo
-
systemInfo
-
systemDebug
-
systemDebug
-
systemDebug
-
systemDebug
-
systemDebug
-
systemDebug
-
systemDebug
-
systemDebug
-
log
-
log
-
log
-
checkClassNameEnableRegex
-
checkClassNameDisableRegex
-
getClazzName
-
toSingle
-
converParams
-