public class PersonalLogger
extends java.lang.Object
GenericDebugLogger
,
DebugUserIds
Modifier and Type | Field and Description |
---|---|
protected GenericDebugLogger |
genericLogger |
protected java.lang.String |
userId |
Constructor and Description |
---|
PersonalLogger(DebugId user)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
isPrintFileAndLine() |
boolean |
isPrintNewLineFirst() |
boolean |
isPrintTimeStamp() |
void |
printDebug(java.lang.String message) |
void |
printDebug(java.lang.String message,
boolean isActive) |
void |
printError(java.lang.String message) |
void |
printError(java.lang.String message,
boolean isActive) |
void |
printMinorError(java.lang.String message) |
void |
printMinorError(java.lang.String message,
boolean isActive) |
void |
printSevereError(java.lang.String message) |
void |
printSevereError(java.lang.String message,
boolean isActive) |
void |
printWarning(java.lang.String message) |
void |
printWarning(java.lang.String message,
boolean isActive) |
void |
setLogLevel(int logLevel) |
void |
setOutputStream(java.io.PrintStream out) |
protected java.lang.String userId
protected GenericDebugLogger genericLogger
public PersonalLogger(DebugId user)
user
- - should be taken from class DebugUserIds (in this package)public final void printDebug(java.lang.String message)
message
- message to printpublic final void printError(java.lang.String message)
message
- message to printpublic final void printMinorError(java.lang.String message)
message
- message to printpublic final void printSevereError(java.lang.String message)
message
- message to printpublic final void printWarning(java.lang.String message)
message
- message to printpublic final void printDebug(java.lang.String message, boolean isActive)
message
- message to printisActive
- is this statement active? (message won't be printed, if not)public final void printError(java.lang.String message, boolean isActive)
message
- message to printisActive
- is this statement active? (message won't be printed, if not)public final void printMinorError(java.lang.String message, boolean isActive)
message
- message to printisActive
- is this statement active? (message won't be printed, if not)public final void printSevereError(java.lang.String message, boolean isActive)
message
- message to printisActive
- is this statement active? (message won't be printed, if not)public final void printWarning(java.lang.String message, boolean isActive)
message
- message to printisActive
- is this statement active? (message won't be printed, if not)public final boolean isPrintFileAndLine()
public final boolean isPrintNewLineFirst()
public final boolean isPrintTimeStamp()
public final void setLogLevel(int logLevel)
logLevel
- public final void setOutputStream(java.io.PrintStream out)
out
-