Holger's
Java API

Uses of Class
com.antelmann.util.logging.LogEntry

Packages that use LogEntry
com.antelmann.sql This package contains classes to ease JDBC development and also provides useful SQL-based implementations for com.antelmann.db classes 
com.antelmann.util.logging This package contains classes that implement a custom logging for this framework - separate from java.util.logging. 
 

Uses of LogEntry in com.antelmann.sql
 

Fields in com.antelmann.sql with type parameters of type LogEntry
static PatternExtractor<LogEntry,com.mysql.jdbc.profiler.ProfilerEvent> MySQLLog.PROFILER_EXTRACTOR
           
 

Uses of LogEntry in com.antelmann.util.logging
 

Fields in com.antelmann.util.logging with type parameters of type LogEntry
protected  Filter<? super LogEntry> AbstractLogWriter.filter
          may be null (in which case all LogEntry objects are written)
static Filter<LogEntry> LevelFilter.MORE_THAN_FINE_LEVEL_FILTER
          accepts LogEntry objects that compare to more than the FINE level.
static Filter<LogEntry> LevelFilter.NO_FINE_LEVEL_FILTER
          accepts LogEntry objects that exclude the levels FINE, FINER, FINEST.
 

Methods in com.antelmann.util.logging that return LogEntry
 LogEntry LoggerHandler.convertBack(LogRecord lr)
           
 LogEntry[] LoggerCache.getCache()
          always returns an array of the size of the cache with the current content where the first element is the latest
 LogEntry Logger.getLast()
          returns the last entry logged with this logger (while enabled and filter passed).
 

Methods in com.antelmann.util.logging that return types with arguments of type LogEntry
 Filter<? super LogEntry> LoggerCache.getFilter()
           
 Filter<? super LogEntry> Logger.getFilter()
          returns null by default
 Filter<? super LogEntry> AbstractLogWriter.getLogFilter()
           
 

Methods in com.antelmann.util.logging with parameters of type LogEntry
 boolean LoggerWriter.accept(LogEntry entry)
           
 boolean LoggerCache.accept(LogEntry entry)
           
 boolean Logger.accept(LogEntry entry)
          returns true only if the given entry will be logged by this logger and thus propagated to its handlers
 boolean LevelFilter.accept(LogEntry entry)
          returns true only if the Level of the entry is equal or comes after the configured Level of this filter.
 boolean AsynchLogWriter.accept(LogEntry entry)
          delegates to the writer synchronously
 boolean AbstractLogWriter.accept(LogEntry entry)
          returns true if either the filter is null or the filter accepts the given entry
 LogRecord LoggerHandler.convert(LogEntry le)
           
 String XMLLogFormatter.formatLogEntry(LogEntry entry)
          This method returns a String with an XML version of the entry.
 String StringLineFormatter.formatLogEntry(LogEntry entry)
          This method returns a one-line String of the entry terminated by a line separator.
 T LogEntryFormatter.formatLogEntry(LogEntry entry)
           
 String DBLineLogFormatter.formatLogEntry(LogEntry entry)
          This method returns a one-line dif-like formattedd String of the entry terminated by a line separator.
 byte[] BinaryLogFormatter.formatLogEntry(LogEntry entry)
          If a particular parameter turns out to not be serializable, the toString() result of that parameter is serialized with the entry.
 void Logger.log(LogEntry entry)
          logs the entry by writing to the writers after checking whether the logger is enabled and the filter (if available) accepts the entry.
 void LogWriter.write(LogEntry entry)
          writes the given LogEntry to the log of this LogWriter.
 void LoggerWriter.write(LogEntry entry)
           
 void LoggerCache.write(LogEntry entry)
           
 void EmailWriter.write(LogEntry entry)
          sends the email
 void AsynchLogWriter.write(LogEntry entry)
          creates a task that runs asynchronously and delegates to the embedded writer.
 void AbstractLogWriter.write(LogEntry entry)
          normally not to be overridden; directly calls writeLogPattern w/o double-checking the filter
 void SocketWriter.writeLogPattern(LogEntry pattern)
           
 

Method parameters in com.antelmann.util.logging with type arguments of type LogEntry
 void LoggerCache.setFilter(Filter<? super LogEntry> filter)
           
 void Logger.setFilter(Filter<? super LogEntry> filter)
           
 void AbstractLogWriter.setLogFilter(Filter<? super LogEntry> filter)
           
static
<T> LogEntryFormatter<T>
LoggerManager.toFormatter(PatternExtractor<LogEntry,T> pe)
           
 

Constructor parameters in com.antelmann.util.logging with type arguments of type LogEntry
AbstractLogWriter(LogEntryFormatter<T> formatter, Filter<? super LogEntry> filter)
           
 



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