de.ls5.jlearn.logging
Class LearnLog
java.lang.Object
de.ls5.jlearn.logging.LearnLog
public class LearnLog
- extends Object
- Author:
- fh
Method Summary |
static void |
addAppender(LoggingAppender app)
|
void |
close()
|
boolean |
existsActiveAppender(LogLevel lvl)
|
static LearnLog |
getLogger(Class clazz)
|
void |
log(LogLevel lvl,
String text)
|
void |
logCE(Word ce,
Word co,
Word hypOut,
String text,
LogLevel lvl)
|
void |
logDSAsDot(String dot,
LogLevel lvl)
|
void |
logDSAsText(String text,
LogLevel lvl)
|
void |
logHYP(Snapshot hyp,
String text,
LogLevel lvl)
|
void |
logMQ(Word in,
Word out,
String text,
LogLevel lvl)
|
void |
logMQ(Word prefix,
Word suffix,
Word out,
String text,
LogLevel lvl)
|
void |
logMultiline(String header,
String content,
LogLevel lvl)
|
void |
logPhase(String text,
LogLevel lvl)
|
static void |
removeAppender(LoggingAppender app)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getLogger
public static LearnLog getLogger(Class clazz)
addAppender
public static void addAppender(LoggingAppender app)
removeAppender
public static void removeAppender(LoggingAppender app)
log
public void log(LogLevel lvl,
String text)
logMultiline
public void logMultiline(String header,
String content,
LogLevel lvl)
logPhase
public void logPhase(String text,
LogLevel lvl)
logMQ
public void logMQ(Word in,
Word out,
String text,
LogLevel lvl)
logMQ
public void logMQ(Word prefix,
Word suffix,
Word out,
String text,
LogLevel lvl)
logHYP
public void logHYP(Snapshot hyp,
String text,
LogLevel lvl)
logCE
public void logCE(Word ce,
Word co,
Word hypOut,
String text,
LogLevel lvl)
logDSAsText
public void logDSAsText(String text,
LogLevel lvl)
logDSAsDot
public void logDSAsDot(String dot,
LogLevel lvl)
close
public void close()
existsActiveAppender
public boolean existsActiveAppender(LogLevel lvl)
Copyright © 2011. All Rights Reserved.