org.almendra.commons.util.logging
Class ErrorLogger

java.lang.Object
  extended by org.almendra.commons.util.logging.ErrorLogger

public class ErrorLogger
extends java.lang.Object

Author:
Oliver Plohmann

Field Summary
protected static ErrorLogger Instance
           
protected  LogView view
           
 
Constructor Summary
ErrorLogger()
          Creates a new ErrorLogger object.
 
Method Summary
 void closed(LogView view)
           
static void exception(java.lang.String text)
           
static void exception(java.lang.Throwable ex)
           
static void fail(java.lang.String text)
           
static ErrorLogger getInstance()
           
protected  void openView()
           
protected static void print(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Instance

protected static ErrorLogger Instance

view

protected LogView view
Constructor Detail

ErrorLogger

public ErrorLogger()
Creates a new ErrorLogger object.

Method Detail

getInstance

public static ErrorLogger getInstance()

closed

public void closed(LogView view)

exception

public static void exception(java.lang.Throwable ex)

exception

public static void exception(java.lang.String text)

print

protected static void print(java.lang.String text)
Parameters:
string -

fail

public static void fail(java.lang.String text)
                 throws java.lang.Exception
Throws:
java.lang.Exception

openView

protected void openView()