public class RedisGelfSenderProvider extends Object implements GelfSenderProvider
GelfSenderProvider
to provide GelfREDISSender
.Constructor and Description |
---|
RedisGelfSenderProvider() |
Modifier and Type | Method and Description |
---|---|
GelfSender |
create(GelfSenderConfiguration configuration)
Create the sender based on the passed configuration.
|
boolean |
supports(String host) |
public boolean supports(String host)
supports
in interface GelfSenderProvider
host
- the host stringpublic GelfSender create(GelfSenderConfiguration configuration) throws IOException
GelfSenderProvider
create
in interface GelfSenderProvider
configuration
- the sender configurationIOException
- if there is an error in the underlying protocolCopyright © 2013–2023. All rights reserved.