Holger's
Java API

Uses of Interface
com.antelmann.util.logging.LogEntryFormatter

Packages that use LogEntryFormatter
com.antelmann.util.logging This package contains classes that implement a custom logging for this framework - separate from java.util.logging. 
 

Uses of LogEntryFormatter in com.antelmann.util.logging
 

Classes in com.antelmann.util.logging that implement LogEntryFormatter
 class BinaryLogFormatter
          formats the LogEntry as a serialized byte array.
 class DBLineLogFormatter
          formats a LogEntry into a format that can be easily imported into databases.
 class StringLineFormatter
          formats a LogEntry into a simple one-line String terminated by a line break.
 class XMLLogFormatter
          formats LogEntry objects as XML.
 

Methods in com.antelmann.util.logging that return LogEntryFormatter
static LogEntryFormatter<String> ConsoleLog.createDefaultFormatter(String prefix)
           
 LogEntryFormatter<String> LogFile.getLogFormatter()
           
 LogEntryFormatter<T> AbstractLogWriter.getLogFormatter()
           
static
<T> LogEntryFormatter<T>
LoggerManager.toFormatter(PatternExtractor<LogEntry,T> pe)
           
 

Methods in com.antelmann.util.logging with parameters of type LogEntryFormatter
 void LogFile.reInitialize(File file, LogEntryFormatter<String> formatter, boolean autoFlush, boolean useDailyPattern)
          This method initializes the LogFile to a new file.
 void LogFile.setLogFormatter(LogEntryFormatter<String> formatter)
           
 void AbstractLogWriter.setLogFormatter(LogEntryFormatter<T> formatter)
          formatter must not be null
 

Constructors in com.antelmann.util.logging with parameters of type LogEntryFormatter
AbstractLogWriter(LogEntryFormatter<T> formatter)
           
AbstractLogWriter(LogEntryFormatter<T> formatter, Filter<? super LogEntry> filter)
           
AppendableLogWriter(Appendable appendable, LogEntryFormatter<String> formatter)
           
ConsoleLog(LogEntryFormatter<String> formatter)
           
FileLog(File file, LogEntryFormatter<String> formatter, boolean useDailyPattern)
           
JDBCLogWriter(Connection con, LogEntryFormatter<RowItem> formatter)
          requires a formatter that will split log entries in an object array which corresponds to the fields in the given table.
LogFile(File file, LogEntryFormatter<String> formatter)
           
LogFile(File file, LogEntryFormatter<String> formatter, boolean autoFlush, boolean useDailyPattern)
          constructs a LogFile based on the given file and formatter.
 



(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads