All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.util.Logger

java.lang.Object
   |
   +----guinea.util.Logger

public class Logger
extends Object

Variable Index

· BRIEF
· consoleLogLevel
· DEBUG
· defaultVerbosity
· defFacilityName
· ERROR
· levelStrings
· logFileName
· logFormat
· LOGLEVEL_BRIEF
· LOGLEVEL_DEBUG
· LOGLEVEL_ERROR
· LOGLEVEL_NORMAL
· LOGLEVEL_SILENT
· LOGLEVEL_VERBOSE
· LOGLEVEL_VERYVERBOSE
· logPattern
· logScreenFormat
· logScreenPattern
· logWriter
· NORMAL
· NOTICE
· SILENT
· VERBOSE
· VERYVERBOSE
· WARNING

Constructor Index

· Logger()

Method Index

· brief(String)
· closeLog()
· debug(String)
· finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
· flog(String, int, Exception)
· flog(String, int, String)
· flush()
· getLevel()
· getLevel(String)
· getLevel_old(String)
· isLogged(String, int)
· log(String, int, Exception)
· log(String, int, String)
· logError(Exception)
· logError(String)
· logError(String, Exception)
· logError(String, String)
· main(String[])
· normal(String)
· setConsoleLogLevel(int)
· setConsoleLogLevel(String)
· setLogFile(String)
· setLogLevel(int)
· setLogLevel(String)
· setLogLevel(String, int)
· setLogLevels(Properties)
· setVerbosity(int)
· setVerbosity(String)
· silent(String)
· stringToLevel(String)
· verbose(String)
· veryverbose(String)
· warning(String)

Variables

· levelStrings
 protected static final String levelStrings[]
· ERROR
 public static final int ERROR
· LOGLEVEL_ERROR
 public static final int LOGLEVEL_ERROR
· SILENT
 public static final int SILENT
· LOGLEVEL_SILENT
 public static final int LOGLEVEL_SILENT
· WARNING
 public static final int WARNING
· BRIEF
 public static final int BRIEF
· LOGLEVEL_BRIEF
 public static final int LOGLEVEL_BRIEF
· NOTICE
 public static final int NOTICE
· NORMAL
 public static final int NORMAL
· LOGLEVEL_NORMAL
 public static final int LOGLEVEL_NORMAL
· VERBOSE
 public static final int VERBOSE
· LOGLEVEL_VERBOSE
 public static final int LOGLEVEL_VERBOSE
· VERYVERBOSE
 public static final int VERYVERBOSE
· LOGLEVEL_VERYVERBOSE
 public static final int LOGLEVEL_VERYVERBOSE
· DEBUG
 public static final int DEBUG
· LOGLEVEL_DEBUG
 public static final int LOGLEVEL_DEBUG
· logPattern
 protected String logPattern
· logScreenPattern
 protected String logScreenPattern
· logFormat
 protected MessageFormat logFormat
· logScreenFormat
 protected MessageFormat logScreenFormat
· defaultVerbosity
 protected int defaultVerbosity
· defFacilityName
 protected String defFacilityName
· logFileName
 protected String logFileName
· logWriter
 protected transient PrintWriter logWriter
· consoleLogLevel
 protected int consoleLogLevel

Constructors

· Logger
 public Logger()

Methods

· setVerbosity
 public void setVerbosity(int level)
· setLogLevel
 public void setLogLevel(int level)
· setVerbosity
 public void setVerbosity(String level)
· setLogLevel
 public void setLogLevel(String level)
· setConsoleLogLevel
 public void setConsoleLogLevel(String level)
· setConsoleLogLevel
 public void setConsoleLogLevel(int level)
· setLogLevels
 public void setLogLevels(Properties p)
· setLogLevel
 public void setLogLevel(String facility,
                         int level)
· stringToLevel
 protected int stringToLevel(String level)
· getLevel
 public int getLevel(String facility)
· getLevel_old
 public int getLevel_old(String facility)
· getLevel
 public int getLevel()
· isLogged
 public boolean isLogged(String facility,
                         int level)
· debug
 public final boolean debug(String facility)
· verbose
 public final boolean verbose(String facility)
· veryverbose
 public final boolean veryverbose(String facility)
· brief
 public final boolean brief(String facility)
· normal
 public final boolean normal(String facility)
· silent
 public final boolean silent(String facility)
· warning
 public final boolean warning(String facility)
· log
 public boolean log(String facility,
                    int level,
                    String msg)
· log
 public boolean log(String facility,
                    int level,
                    Exception ex)
· flog
 public void flog(String facility,
                  int level,
                  String msg)
· logError
 public void logError(String facility,
                      Exception ex)
· logError
 public void logError(String facility,
                      String msg)
· logError
 public void logError(String msg)
· logError
 public void logError(Exception ex)
· flog
 public void flog(String facility,
                  int level,
                  Exception ex)
· setLogFile
 public synchronized void setLogFile(String name) throws IOException
· closeLog
 public synchronized void closeLog()
· flush
 public synchronized void flush()
· finalize
 protected void finalize() throws Throwable
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

Overrides:
finalize in class Object
· main
 public static void main(String args[]) throws Exception

All Packages  Class Hierarchy  This Package  Previous  Next  Index