Class LoggerImpl.PluginFileLoggerAdapater
- java.lang.Object
-
- com.biglybt.core.logging.impl.FileLoggingAdapter
-
- com.biglybt.pifimpl.local.logging.LoggerImpl.PluginFileLoggerAdapater
-
- Enclosing class:
- LoggerImpl
private static class LoggerImpl.PluginFileLoggerAdapater extends FileLoggingAdapter
-
-
Field Summary
Fields Modifier and Type Field Description FileLoggerAdapter
listener
-
Constructor Summary
Constructors Constructor Description PluginFileLoggerAdapater(FileLogging fileLogging, FileLoggerAdapter listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
logToFile(LogEvent event, java.lang.StringBuffer lineOut)
Called when we are about to log an event to file.
-
-
-
Field Detail
-
listener
public FileLoggerAdapter listener
-
-
Constructor Detail
-
PluginFileLoggerAdapater
public PluginFileLoggerAdapater(FileLogging fileLogging, FileLoggerAdapter listener)
-
-
Method Detail
-
logToFile
public boolean logToFile(LogEvent event, java.lang.StringBuffer lineOut)
Description copied from class:FileLoggingAdapter
Called when we are about to log an event to file.- Overrides:
logToFile
in classFileLoggingAdapter
- Parameters:
event
- Event being logged to filelineOut
- line to be written to file (modifyable)- Returns:
- true-ok to log to file; false-skip logging to file
-
-