public class LoggingOutput extends Object implements MessageOutput
| Modifier and Type | Class and Description |
|---|---|
static class |
LoggingOutput.Config |
static class |
LoggingOutput.Descriptor |
static interface |
LoggingOutput.Factory |
| Constructor and Description |
|---|
LoggingOutput(Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning() |
void |
stop() |
void |
write(List<Message> messages) |
void |
write(Message message) |
@Inject public LoggingOutput(Configuration config) throws MessageOutputConfigurationException
public void stop()
stop in interface MessageOutputstop in interface Stoppablepublic boolean isRunning()
isRunning in interface MessageOutputpublic void write(Message message) throws Exception
write in interface MessageOutputExceptionCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.