com.calfater.mailcarbon.log
Class LoggerFactory

java.lang.Object
  extended by com.calfater.mailcarbon.log.LoggerFactory

public class LoggerFactory
extends java.lang.Object

Manage different logger implementations


Constructor Summary
LoggerFactory()
           
 
Method Summary
static ConsoleLogger getConsoleLogger()
          Get a logger for a the console.
static TextAreaLogger getTextAreaLogger(javax.swing.JTextArea dest)
          Get a logger for a JTextArea.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerFactory

public LoggerFactory()
Method Detail

getTextAreaLogger

public static TextAreaLogger getTextAreaLogger(javax.swing.JTextArea dest)
Get a logger for a JTextArea.

Parameters:
dest - the destination JTextArea.
Returns:
An implementation of Logger for JtextArea.

getConsoleLogger

public static ConsoleLogger getConsoleLogger()
Get a logger for a the console.

Returns:
An implementation of Logger for the console.