public class DefaultGelfSenderProvider extends java.lang.Object implements GelfSenderProvider
GelfSender that creates UDP, TCP and HTTP senders.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT
Default GELF port.
|
| Constructor and Description |
|---|
DefaultGelfSenderProvider() |
| Modifier and Type | Method and Description |
|---|---|
GelfSender |
create(GelfSenderConfiguration configuration)
Create the sender based on the passed configuration.
|
boolean |
supports(java.lang.String host) |
public static final int DEFAULT_PORT
public boolean supports(java.lang.String host)
supports in interface GelfSenderProviderhost - the host stringpublic GelfSender create(GelfSenderConfiguration configuration) throws java.io.IOException
GelfSenderProvidercreate in interface GelfSenderProviderconfiguration - the sender configurationjava.io.IOException - if there is an error in the underlying protocolCopyright © 2013-2022. All Rights Reserved.