Holger's
Java API

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

Packages that use LogWriter
com.antelmann.db This package contains generally useful classes for generic database management. 
com.antelmann.net.mail The classes in this package are designed to ease the handling of emails. 
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 LogWriter in com.antelmann.db
 

Constructors in com.antelmann.db with parameters of type LogWriter
AbstractDatabase(S databaseService, User user, DBAccessController controller, LogWriter logWriter)
           
AbstractDatabase(S databaseService, User user, DBAccessController controller, LogWriter logWriter, boolean automatedTransactions)
           
AbstractDatabase(S databaseService, User user, LogWriter logWriter)
          the given logWriter - assumed to write into the databaseService if not null - will be added to the embedded Logger
 

Uses of LogWriter in com.antelmann.net.mail
 

Methods in com.antelmann.net.mail with parameters of type LogWriter
 void EmailWatcherFrame.handleLogException(Logger logger, LogException ex, LogWriter writer)
           
 

Uses of LogWriter in com.antelmann.sql
 

Constructors in com.antelmann.sql with parameters of type LogWriter
SQLDatabase(Connection con, User user, LogWriter logWriter)
          the logWriter remains unchecked regarding access during a non-active transaction
 

Uses of LogWriter in com.antelmann.util.logging
 

Classes in com.antelmann.util.logging that implement LogWriter
 class AbstractExceptionWriter
          an abstract class to handle exceptions that occur in a LogEntry.
 class AbstractLogWriter<T>
          provides filtering capabilities for a LogWriter.
 class AppendableLogWriter
          writes to a given Appendable (PrintStream, StringBuffer, etc) using a String
 class AsynchLogWriter
          allows to operate any LogWriter asynchronously.
 class BinaryFileLog
          A LogWriter that logs the entries synchronously serialized to a file.
 class ConsoleLog
          ConsoleLog prints abbreviated log messages to the console using System.out.println().
 class EmailWriter
          uses email to send each LogEntry object over the Internet.
 class ExceptionDialogWriter
          shows a dialog upon each Throwable encountered.
 class FileLog
          writes entries to a file without continuously holding a lock on the file.
 class JDBCLogWriter
          JDBCLogWriter provides a LogWriter that writes to a java.sql.Connection.
 class JTextAreaLog
          a more efficient visible log as it uses JTextArea methods to append the text
 class JTextComponentLog
          JTextComponentLog writes abbreviated log messages into a given JTextComponent synchronously.
 class LogFile
          LogFile provides great convenience for logging information from a program into a file.
 class LoggerCache
          provides a simple mechanism to cache LogEntries from a Logger
 class LoggerWriter
          provides a writer that propagates the LogEntries to another logger
 class LogNetPropagator
          can be registered to listen logging events and then propagates them as serialized byte arrays over its NetConnectionServer.
 class SocketWriter
          simply used to write serialized LogEntry objects via network
 class StackTraceFileWriter
          writes full stack trace of entries that log an exception to a given file.
 class XMLLogWriter
          writes LogEntry objects formatted as XML to either a PrintStream or PrintWriter.
 

Methods in com.antelmann.util.logging that return LogWriter
static LogWriter LoggerHandler.createWriter(Logger logger, Filter filter)
          provides a LogWriter that publishes LogEntries to the given java.util.loggin.Logger
 LogWriter AsynchLogWriter.getWriter()
           
 LogWriter[] Logger.getWriters()
           
 LogWriter AsynchLogWriter.unwrap()
           
 

Methods in com.antelmann.util.logging with parameters of type LogWriter
 boolean Logger.addWriter(LogWriter writer)
          adds the given handler to the list of handlers this Logger writes to
 boolean Logger.containsWriter(LogWriter writer)
           
 void LogExceptionHandler.handleLogException(Logger logger, LogException ex, LogWriter writer)
          is called when a logger encounters a LogException while the handler logs an entry.
 boolean Logger.removeWriter(LogWriter writer)
          removes the given writer from the list of log writers
 

Constructors in com.antelmann.util.logging with parameters of type LogWriter
AsynchLogWriter(LogWriter writer, Executor worker)
           
Logger(LogWriter... writer)
           
LoggerHandler(LogWriter writer)
           
 



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