net.praqma.util.debug
Class PraqmaLogger.Logger

java.lang.Object
  extended by net.praqma.util.debug.PraqmaLogger.Logger
All Implemented Interfaces:
Serializable
Enclosing class:
PraqmaLogger

public static class PraqmaLogger.Logger
extends Object
implements Serializable

Author:
wolfgang
See Also:
Serialized Form

Field Summary
 boolean all
           
 boolean enabled
           
 List<String> exclude
           
 List<String> include
           
 
Constructor Summary
PraqmaLogger.Logger()
           
 
Method Summary
 String debug(Object msg)
           
 void disable()
           
 String empty(Object msg)
           
 void enable()
           
 void enableTrace()
           
 String error(Object msg)
           
 String exceptionWarning(Object msg)
           
 PrintWriter getLocalLog()
           
 String getPath()
           
 String info(Object msg)
           
 boolean isExcluded(String name)
           
 boolean isIncluded(String name)
           
 String log(Object msg)
           
 String log(Object msg, String type)
           
 void print(Object msg)
           
 void setLocalLog(File log)
           
 void subscribe(String s)
           
 void subscribeAll()
           
 String toString()
           
 void trace_function()
           
 void unsubscribeAll()
           
 String warning(Object msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exclude

public List<String> exclude

include

public List<String> include

all

public boolean all

enabled

public boolean enabled
Constructor Detail

PraqmaLogger.Logger

public PraqmaLogger.Logger()
Method Detail

setLocalLog

public void setLocalLog(File log)

getLocalLog

public PrintWriter getLocalLog()

subscribe

public void subscribe(String s)

subscribeAll

public void subscribeAll()

unsubscribeAll

public void unsubscribeAll()

isExcluded

public boolean isExcluded(String name)

isIncluded

public boolean isIncluded(String name)

disable

public void disable()

enable

public void enable()

enableTrace

public void enableTrace()

getPath

public String getPath()

toString

public String toString()
Overrides:
toString in class Object

print

public void print(Object msg)

log

public String log(Object msg)

debug

public String debug(Object msg)

info

public String info(Object msg)

warning

public String warning(Object msg)

exceptionWarning

public String exceptionWarning(Object msg)

error

public String error(Object msg)

log

public String log(Object msg,
                  String type)

empty

public String empty(Object msg)

trace_function

public void trace_function()


Copyright © 2011. All Rights Reserved.