public class DefaultChronicleLogWriter extends Object implements ChronicleLogWriter
Constructor and Description |
---|
DefaultChronicleLogWriter(net.openhft.chronicle.queue.ChronicleQueue cq) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
net.openhft.chronicle.wire.WireType |
getWireType() |
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,
Object... args) |
public DefaultChronicleLogWriter(@NotNull net.openhft.chronicle.queue.ChronicleQueue cq) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public void write(ChronicleLogLevel level, long timestamp, String threadName, String loggerName, String message)
write
in interface ChronicleLogWriter
public void write(ChronicleLogLevel level, long timestamp, String threadName, String loggerName, String message, Throwable throwable, Object... args)
write
in interface ChronicleLogWriter
public net.openhft.chronicle.wire.WireType getWireType()
Copyright © 2018. All rights reserved.