com.prolixtech.utils

Class SingletonLogger

Implemented Interfaces:
MboxLogger

public class SingletonLogger
extends NullLogger

This class provides a single logging utility used for debugging purposes. It delegates most of its work to the java logging system, however it is made a singleton here so that it can be used throughout the application.

Constructor Summary

SingletonLogger()

Method Summary

static MboxLogger
Instance()
static void
setLog(boolean x)

Methods inherited from class com.prolixtech.utils.NullLogger

Instance, baloon, disableBaloons, exception, exception, fine, getLogger, http, info, log, severe, sql, warning

Constructor Details

SingletonLogger

public SingletonLogger()

Method Details

Instance

public static MboxLogger Instance()
Overrides:
Instance in interface NullLogger

setLog

public static void setLog(boolean x)