at.tuwien.ifs.feature.extraction.audio.util
Interface LogHandler

All Known Implementing Classes:
FileLogger, MainGUI, PrintStreamLogger

public interface LogHandler

Interface for Loggers used by MyLogger.

Author:
Jakob Frank

Nested Class Summary
static class LogHandler.LogGrade
           
 
Method Summary
 void appendLog(java.lang.String message, LogHandler.LogGrade grade)
          Append a log-line.
 void flushAllLogs()
          Flush all log channels.
 void flushLog()
          Flush the log.
 void setLogGrade(LogHandler.LogGrade grade)
          Set the Log-Grade.
 

Method Detail

appendLog

void appendLog(java.lang.String message,
               LogHandler.LogGrade grade)
Append a log-line.

Parameters:
message - The message to append.
grade - The grade.
See Also:
LogHandler.LogGrade

flushLog

void flushLog()
Flush the log. Do really print it.


setLogGrade

void setLogGrade(LogHandler.LogGrade grade)
Set the Log-Grade. Only messages that are more or equal important than the given grade will be shown.

Parameters:
grade - The new log grade.

flushAllLogs

void flushAllLogs()
Flush all log channels.

See Also:
flushLog()