Package slash.common.log
Class LoggingHelper
java.lang.Object
slash.common.log.LoggingHelper
Allows to control log output
- Author:
- Christian Pesch
-
Method Summary
Modifier and TypeMethodDescriptionvoidTruncates the log file to zero length and resumes logging into it.static LoggingHelpervoidvoidvoidvoid
-
Method Details
-
getInstance
-
logToFileAndConsole
public void logToFileAndConsole() -
logToFile
public void logToFile() -
logToConsole
public void logToConsole() -
logAsDefault
public void logAsDefault() -
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).
-