public static class ChronicleLogWriters.SimpleWriter extends Object implements ChronicleLogWriter
| Constructor and Description |
|---|
ChronicleLogWriters.SimpleWriter(PrintStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
net.openhft.chronicle.Chronicle |
getChronicle() |
void |
write(ChronicleLogLevel level,
long timestamp,
String threadName,
String loggerName,
String message) |
void |
write(ChronicleLogLevel level,
long timestamp,
String threadName,
String loggerName,
String message,
Throwable throwable) |
void |
write(ChronicleLogLevel level,
long timestamp,
String threadName,
String loggerName,
String message,
Throwable throwable,
Object arg1) |
void |
write(ChronicleLogLevel level,
long timestamp,
String threadName,
String loggerName,
String message,
Throwable throwable,
Object[] args) |
void |
write(ChronicleLogLevel level,
long timestamp,
String threadName,
String loggerName,
String message,
Throwable throwable,
Object arg1,
Object arg2) |
public ChronicleLogWriters.SimpleWriter(@NotNull
PrintStream stream)
throws IOException
IOExceptionpublic net.openhft.chronicle.Chronicle getChronicle()
getChronicle in interface ChronicleLogWriterpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void write(ChronicleLogLevel level, long timestamp, String threadName, String loggerName, String message, Throwable throwable)
write in interface ChronicleLogWriterpublic void write(ChronicleLogLevel level, long timestamp, String threadName, String loggerName, String message)
write in interface ChronicleLogWriterpublic void write(ChronicleLogLevel level, long timestamp, String threadName, String loggerName, String message, Throwable throwable, Object arg1)
write in interface ChronicleLogWriterpublic void write(ChronicleLogLevel level, long timestamp, String threadName, String loggerName, String message, Throwable throwable, Object arg1, Object arg2)
write in interface ChronicleLogWriterpublic void write(ChronicleLogLevel level, long timestamp, String threadName, String loggerName, String message, Throwable throwable, Object[] args)
write in interface ChronicleLogWriterCopyright © 2015. All rights reserved.