|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Logger
A logger is a receiver of LogEvents that process them in some manner. For instance one logger can log to a file, another to a database, a third pop up a GUI window and so on.
| Method Summary | |
|---|---|
void |
close()
Disposes this logger. |
void |
init(java.util.Properties properties)
Initializes the logger with the specified properties |
void |
log(LogEvent event)
Logs an event. |
void |
setContext(LoggerContext context)
Sets the logger's context. |
void |
setLogTimestamp(boolean timestamp)
Set the togglable log-timestamp option, whether or not the logger will write the time of the event. |
| Method Detail |
|---|
void setContext(LoggerContext context)
void init(java.util.Properties properties)
void log(LogEvent event)
void setLogTimestamp(boolean timestamp)
void close()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||