Class PersonalLogger
- java.lang.Object
-
- de.fho.jump.pirol.utilities.debugOutput.PersonalLogger
-
@Deprecated public class PersonalLogger extends Object
Deprecated.see com.vividsolutions.jump.workbench.LoggerClass to post personalized debug statements. Holds user information and uses the GenericDebugLogger itself.- Author:
- Ole Rahn, FH Osnabrück - University of Applied Sciences Osnabrück, Project: PIROL (2005), Subproject: Daten- und Wissensmanagement
- See Also:
GenericDebugLogger
,TODO replace PersonalLogger usage by com.vividsolutions.jump.workbench.Logger
-
-
Field Summary
Fields Modifier and Type Field Description protected GenericDebugLogger
genericLogger
Deprecated.protected String
userId
Deprecated.
-
Constructor Summary
Constructors Constructor Description PersonalLogger(DebugId user)
Deprecated.Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isPrintFileAndLine()
Deprecated.boolean
isPrintNewLineFirst()
Deprecated.boolean
isPrintTimeStamp()
Deprecated.void
printDebug(String message)
Deprecated.void
printDebug(String message, boolean isActive)
Deprecated.void
printError(String message)
Deprecated.void
printError(String message, boolean isActive)
Deprecated.void
printMinorError(String message)
Deprecated.void
printMinorError(String message, boolean isActive)
Deprecated.void
printSevereError(String message)
Deprecated.void
printSevereError(String message, boolean isActive)
Deprecated.void
printWarning(String message)
Deprecated.void
printWarning(String message, boolean isActive)
Deprecated.void
setLogLevel(int logLevel)
Deprecated.void
setOutputStream(PrintStream out)
Deprecated.
-
-
-
Field Detail
-
userId
protected String userId
Deprecated.
-
genericLogger
protected GenericDebugLogger genericLogger
Deprecated.
-
-
Constructor Detail
-
PersonalLogger
public PersonalLogger(DebugId user)
Deprecated.Constructor- Parameters:
user
- - should be taken from class DebugUserIds (in this package)
-
-
Method Detail
-
printDebug
public final void printDebug(String message)
Deprecated.- Parameters:
message
- message to print
-
printError
public final void printError(String message)
Deprecated.- Parameters:
message
- message to print
-
printMinorError
public final void printMinorError(String message)
Deprecated.- Parameters:
message
- message to print
-
printSevereError
public final void printSevereError(String message)
Deprecated.- Parameters:
message
- message to print
-
printWarning
public final void printWarning(String message)
Deprecated.- Parameters:
message
- message to print
-
printDebug
public final void printDebug(String message, boolean isActive)
Deprecated.- Parameters:
message
- message to printisActive
- is this statement active? (message won't be printed, if not)
-
printError
public final void printError(String message, boolean isActive)
Deprecated.- Parameters:
message
- message to printisActive
- is this statement active? (message won't be printed, if not)
-
printMinorError
public final void printMinorError(String message, boolean isActive)
Deprecated.- Parameters:
message
- message to printisActive
- is this statement active? (message won't be printed, if not)
-
printSevereError
public final void printSevereError(String message, boolean isActive)
Deprecated.- Parameters:
message
- message to printisActive
- is this statement active? (message won't be printed, if not)
-
printWarning
public final void printWarning(String message, boolean isActive)
Deprecated.- Parameters:
message
- message to printisActive
- is this statement active? (message won't be printed, if not)
-
isPrintFileAndLine
public final boolean isPrintFileAndLine()
Deprecated.- Returns:
- true or false //TODO specify the return value
-
isPrintNewLineFirst
public final boolean isPrintNewLineFirst()
Deprecated.- Returns:
- true or false //TODO specify the return value
-
isPrintTimeStamp
public final boolean isPrintTimeStamp()
Deprecated.- Returns:
- true or false //TODO specify the return value
-
setLogLevel
public final void setLogLevel(int logLevel)
Deprecated.- Parameters:
logLevel
- log level
-
setOutputStream
public final void setOutputStream(PrintStream out)
Deprecated.- Parameters:
out
- output print stream
-
-