public class TimeLogger
extends java.lang.Object
Constructor | Description |
---|---|
TimeLogger(java.lang.String logName) |
|
TimeLogger(java.lang.String logName,
java.util.logging.Handler handler) |
Modifier and Type | Method | Description |
---|---|---|
void |
createLogEntry(java.lang.String message) |
creates a new log entry from the message argument
|
java.util.logging.Level |
getLevel() |
Get level of time logger.
|
void |
removeHandler(java.util.logging.Handler handler) |
Remove handler.
|
void |
setLevel(java.util.logging.Level timeLogLevel) |
Set level of time logger.
|
public TimeLogger(java.lang.String logName, java.util.logging.Handler handler)
public TimeLogger(java.lang.String logName)
public void createLogEntry(java.lang.String message)
message
- to print to the logpublic void setLevel(java.util.logging.Level timeLogLevel)
timeLogLevel
- public java.util.logging.Level getLevel()
public void removeHandler(java.util.logging.Handler handler) throws java.lang.SecurityException
handler
- to removejava.lang.SecurityException