org.test4j.module.core.utility
类 MessageHelper
java.lang.Object
org.test4j.module.core.utility.MessageHelper
public class MessageHelper
- extends Object
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public static final int DEBUG
- 另请参见:
- 常量字段值
INFO
public static final int INFO
- 另请参见:
- 常量字段值
WARNING
public static final int WARNING
- 另请参见:
- 常量字段值
ERROR
public static final int ERROR
- 另请参见:
- 常量字段值
level
public static int level
MessageHelper
public MessageHelper()
debug
public static void debug(String info)
warn
public static void warn(String warn)
warn
public static void warn(String warn,
Throwable e)
info
public static void info(String info)
error
public static void error(String err)
error
public static void error(String err,
Throwable e)
mark
public static void mark(String marker,
Throwable e)
resetLog4jLevel
public static void resetLog4jLevel()
- 重置log4j的设置
writerDebugInfo
protected static void writerDebugInfo(String info)
- 用于记录test4j运行时的信息,方便定位复杂的问题
正式发布版本中所有方法都改为protected,禁止其它类引用
Copyright © 2013. All rights reserved.