com.stackify.api.common.log
| Constructor and Description |
|---|
LogAppender(String logger,
EventAdapter<T> eventAdapter)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ApiConfiguration apiConfig)
Activates the appender
|
void |
append(T event)
Adds the log message to the collector
|
void |
close() |
public LogAppender(String logger, EventAdapter<T> eventAdapter)
logger - Logger project namepublic void activate(ApiConfiguration apiConfig)
apiConfig - API configurationpublic void close()
throws IOException
close in interface CloseableIOExceptionCloseable.close()public void append(T event)
event - Copyright © 2016 Stackify, LLC. All Rights Reserved.