| java.lang.Object org.infozone.tools.logger.LogWriter
LogWriter | final public class LogWriter (Code) | | author: SMB version: $Revision: 1.1 $Date: 2002/05/10 08:59:12 $ |
Method Summary | |
public void | addLogTarget(OutputStream _out, int _levels) | public void | addLogTarget(PrintWriter _writer, int _levels) | public boolean | hasTarget(int level) This method allows to quickly find out if there is any log target that
would receive entries of the specified level. | public void | newEntry(Object sender, String msg, int levels) | public void | newEntry(Object sender, String msg, Throwable e, int levels) | protected void | printFormatedException(OutputStream out, Throwable e, int lineWidth, String pre) | protected void | printFormatedException(PrintWriter out, Throwable e, int lineWidth, String pre) | protected void | printToWriter(PrintWriter writer, Object sender, String msg, String status, Throwable e) | public static String | rawClassName(Object obj) |
DEBUG | final public static int DEBUG(Code) | | |
DEBUG2 | final public static int DEBUG2(Code) | | |
DEBUG3 | final public static int DEBUG3(Code) | | |
DEBUG_PREFIX | final protected static String DEBUG_PREFIX(Code) | | |
ERROR | final public static int ERROR(Code) | | |
ERROR_PREFIX | final protected static String ERROR_PREFIX(Code) | | |
INFO | final public static int INFO(Code) | | |
LINE_WIDTH | final public static int LINE_WIDTH(Code) | | |
WARN | final public static int WARN(Code) | | |
allLevels | protected int allLevels(Code) | | |
LogWriter | public LogWriter()(Code) | | |
hasTarget | public boolean hasTarget(int level)(Code) | | This method allows to quickly find out if there is any log target that
would receive entries of the specified level.
|
|
|