|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectgov.nist.core.LogWriter
public class LogWriter
Log System Errors. Also used for debugging log.
| フィールドの概要 | |
|---|---|
static boolean |
needsLogging
Flag to indicate that logging is enabled. |
static int |
TRACE_DEBUG
Debug trace level (all tracing enabled). |
static int |
TRACE_EXCEPTION
Trace exception processing |
static int |
TRACE_MESSAGES
Trace message processing |
static int |
TRACE_NONE
Dont trace |
| コンストラクタの概要 | |
|---|---|
LogWriter()
|
|
| メソッドの概要 | |
|---|---|
int |
getLineCount()
|
int |
getTraceLevel()
Get the trace level for the stack. |
void |
logException(java.lang.Throwable ex)
|
void |
logMessage(java.lang.String message)
Log a message into the log file. |
void |
logMessage(java.lang.String message,
java.lang.String logFileName)
|
void |
logStackTrace()
log a stack trace.. |
void |
logThrowable(java.lang.Throwable throwable)
|
void |
logTrace(java.lang.Throwable sframe)
Log an excption. 1.4x Code contributed by Brad Templeton |
void |
setLogFileName(java.lang.String name)
Set the log file name |
void |
setTraceLevel(int level)
Set the trace level for the stack. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final int TRACE_NONE
public static final int TRACE_MESSAGES
public static final int TRACE_EXCEPTION
public static final int TRACE_DEBUG
public static boolean needsLogging
| コンストラクタの詳細 |
|---|
public LogWriter()
| メソッドの詳細 |
|---|
public void logStackTrace()
public int getLineCount()
public void logException(java.lang.Throwable ex)
public void logThrowable(java.lang.Throwable throwable)
public void logTrace(java.lang.Throwable sframe)
sframe - - frame to log grace.public void setLogFileName(java.lang.String name)
name - is the name of the log file to set.
public void logMessage(java.lang.String message,
java.lang.String logFileName)
public void logMessage(java.lang.String message)
message - message to log into the log file.public void setTraceLevel(int level)
public int getTraceLevel()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||