GenericLogger.java | Class | This is the basis class, which is extended by
the other loggers and is responsible for the
created log text, which then is treated differently
by the child loggers:
ConsoleLogger: writes it to the System.out stream
FileLogger: writes it into log files
SocketLogger: sends it over the internet
Child loggers have to implement the abstract method
publish( String levelName, String message ) and can get
the log text by a call to the protected method
getLogText( String levelName, String message ). |