org.test4j.module.core.utility
类 MessageHelper

java.lang.Object
  继承者 org.test4j.module.core.utility.MessageHelper

public class MessageHelper
extends Object


字段摘要
static int DEBUG
           
static int ERROR
           
static int INFO
           
static int level
           
static int WARNING
           
 
构造方法摘要
MessageHelper()
           
 
方法摘要
static void debug(String info)
           
static void error(String err)
           
static void error(String err, Throwable e)
           
static void info(String info)
           
static void mark(String marker, Throwable e)
           
static void resetLog4jLevel()
          重置log4j的设置
static void warn(String warn)
           
static void warn(String warn, Throwable e)
           
protected static void writerDebugInfo(String info)
          用于记录test4j运行时的信息,方便定位复杂的问题
正式发布版本中所有方法都改为protected,禁止其它类引用
 
从类 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.