public class PrintWriterLogBridge extends AbstractLogBridge
| Constructor and Description |
|---|
PrintWriterLogBridge(PrintWriter stream) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
composeMessage(String fqcn,
String domain,
String groupId,
String entryId,
org.znerd.util.log.LogLevel level,
String message,
Throwable exception) |
String |
getContextId() |
protected PrintWriter |
getStream(String fqcn,
String domain,
String groupId,
String entryId,
org.znerd.util.log.LogLevel level) |
protected void |
log(PrintWriter stream,
String composedMessage,
Throwable exception) |
void |
logOneMessage(String fqcn,
String domain,
String groupId,
String entryId,
org.znerd.util.log.LogLevel level,
String message,
Throwable exception) |
void |
putContextId(String newContextId) |
boolean |
shouldLog(String domain,
String groupId,
String entryId,
org.znerd.util.log.LogLevel level) |
void |
unputContextId() |
getLevel, setLevelpublic PrintWriterLogBridge(PrintWriter stream)
public void putContextId(String newContextId)
public void unputContextId()
public String getContextId()
public boolean shouldLog(String domain, String groupId, String entryId, org.znerd.util.log.LogLevel level)
public void logOneMessage(String fqcn, String domain, String groupId, String entryId, org.znerd.util.log.LogLevel level, String message, Throwable exception)
protected String composeMessage(String fqcn, String domain, String groupId, String entryId, org.znerd.util.log.LogLevel level, String message, Throwable exception)
protected PrintWriter getStream(String fqcn, String domain, String groupId, String entryId, org.znerd.util.log.LogLevel level)
protected void log(PrintWriter stream, String composedMessage, Throwable exception)
Copyright © 2003-2013. All Rights Reserved.