Class LoggingHelper

java.lang.Object
slash.common.log.LoggingHelper

public class LoggingHelper extends Object
Allows to control log output
Author:
Christian Pesch
  • Method Details

    • getInstance

      public static LoggingHelper getInstance()
    • logToFileAndConsole

      public void logToFileAndConsole()
    • logToFile

      public void logToFile()
    • logToConsole

      public void logToConsole()
    • logAsDefault

      public void logAsDefault()
    • getLogFileAsString

      public String getLogFileAsString()
    • clearLogFile

      public void clearLogFile()
      Truncates the log file to zero length and resumes logging into it. Called after an error report has been sent to the server so the next report does not re-send log lines that were already submitted (a single appended log otherwise accumulates several sessions across program updates).