org.foray.common
Class Logging

java.lang.Object
  extended by org.foray.common.Logging

public final class Logging
extends Object

This class assists in standardizing logging practices across the application.


Method Summary
static org.apache.commons.logging.Log makeDebugLogger()
          Factory method creating a debug logger, that is, one set to the "debug" level.
static org.apache.commons.logging.Log makeDefaultLogger()
          Factory method creating a default logger, that is, one set to the "info" level.
static org.apache.commons.logging.Log makeQuietLogger()
          Factory method creating a quiet logger, that is, one set to the "error" level.
static org.apache.commons.logging.Log makeWarningLogger()
          Factory method creating a warning logger, that is, one set to the "warning" level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeDefaultLogger

public static org.apache.commons.logging.Log makeDefaultLogger()
Factory method creating a default logger, that is, one set to the "info" level.

Returns:
The newly-created Log instance.

makeDebugLogger

public static org.apache.commons.logging.Log makeDebugLogger()
Factory method creating a debug logger, that is, one set to the "debug" level.

Returns:
The newly-created Log instance.

makeQuietLogger

public static org.apache.commons.logging.Log makeQuietLogger()
Factory method creating a quiet logger, that is, one set to the "error" level.

Returns:
The newly-created Log instance.

makeWarningLogger

public static org.apache.commons.logging.Log makeWarningLogger()
Factory method creating a warning logger, that is, one set to the "warning" level.

Returns:
The newly-created Log instance.


Copyright © 2017. All rights reserved.