Holger's
Java API

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

Packages that use LogEntry
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.util.logging
 

Fields in com.antelmann.util.logging with type parameters of type LogEntry
protected  Filter<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
protected  LogEntry SampleSQLLogFormatter.extractLogEntry(ResultSet rs)
           
 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<LogEntry> Logger.getFilter()
          returns null by default
 ArrayList<LogEntry> SampleSQLLogFormatter.getLogEntries(Date from, Date until, Filter<LogEntry> filter)
          null parameter mean that no restriction applies
 Filter<LogEntry> AbstractLogWriter.getLogFilter()
           
 

Methods in com.antelmann.util.logging with parameters of type LogEntry
 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
 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.
 Object[] SampleSQLLogFormatter.formatLogEntry(LogEntry entry)
           
 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 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; checks the filter and calls writeLogPattern
 void SocketWriter.writeLogPattern(LogEntry pattern)
           
 

Method parameters in com.antelmann.util.logging with type arguments of type LogEntry
 ArrayList<LogEntry> SampleSQLLogFormatter.getLogEntries(Date from, Date until, Filter<LogEntry> filter)
          null parameter mean that no restriction applies
 void Logger.setFilter(Filter<LogEntry> filter)
           
 void AbstractLogWriter.setLogFilter(Filter<LogEntry> filter)
           
 

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



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