public class LogWriteEvent extends Object implements Comparable<LogWriteEvent>
| Modifier and Type | Field and Description |
|---|---|
protected GenericRecord |
genericRecord |
protected ch.qos.logback.classic.spi.ILoggingEvent |
logEvent |
protected LoggingContext |
loggingContext |
| Constructor and Description |
|---|
LogWriteEvent(GenericRecord genericRecord,
ch.qos.logback.classic.spi.ILoggingEvent logEvent,
LoggingContext loggingContext) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(LogWriteEvent event) |
GenericRecord |
getGenericRecord() |
ch.qos.logback.classic.spi.ILoggingEvent |
getLogEvent() |
LoggingContext |
getLoggingContext() |
protected final GenericRecord genericRecord
protected final ch.qos.logback.classic.spi.ILoggingEvent logEvent
protected final LoggingContext loggingContext
public LogWriteEvent(GenericRecord genericRecord, ch.qos.logback.classic.spi.ILoggingEvent logEvent, LoggingContext loggingContext)
public GenericRecord getGenericRecord()
public ch.qos.logback.classic.spi.ILoggingEvent getLogEvent()
public LoggingContext getLoggingContext()
public int compareTo(LogWriteEvent event)
compareTo in interface Comparable<LogWriteEvent>Copyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.