edu.berkeley.nlp.lm.util
Class Logger
java.lang.Object
edu.berkeley.nlp.lm.util.Logger
public class Logger
- extends Object
Basic logging singleton class. The underlying LogInterface instance can be
changed to customize logging behaviour by calling setGlobalLogger.
- Author:
- adampauls
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Logger
public Logger()
setGlobalLogger
public static void setGlobalLogger(Logger.LogInterface logger)
getGlobalLogger
public static Logger.LogInterface getGlobalLogger()
i
public static Logger.LogInterface i()
setLogger
public static void setLogger(Logger.LogInterface i)
logs
public static void logs(String s)
logs
public static void logs(String s,
Object... args)
logss
public static void logss(String s)
startTrack
public static void startTrack(String s,
Object... args)
endTrack
public static void endTrack()
dbg
public static void dbg(String s)
err
public static void err(String s)
err
public static void err(String s,
Object... args)
warn
public static void warn(String s)
warn
public static void warn(String string,
Object... args)
logss
public static void logss(String string,
Object... args)