com.github.drinkjava2.jdialects
Class DialectLogger
java.lang.Object
com.github.drinkjava2.jdialects.DialectLogger
public class DialectLogger
- extends Object
For logger output, to avoid logger jar version conflict, default use JDK log,
if found commons log, use it, if found Log4j use it..., by this way this
project has no dependency to any logger jar.
- Since:
- 1.0.1
- Author:
- Yong Zhu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DialectLogger
public DialectLogger(Class<?> targetClass)
getLog
public static DialectLogger getLog(Class<?> targetClass)
setEnableLog
public static void setEnableLog(boolean enablelog)
info
public void info(String msg)
warn
public void warn(String msg)
error
public void error(String msg)
Copyright © 2017. All rights reserved.