public class FileLogger extends Object implements EventLogger
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_EXTENSION_PROP_NAME |
static String |
FILE_PREFIX_PROP_NAME |
static String |
OUTPUT_DIRECTORY_PROP_NAME |
| Constructor and Description |
|---|
FileLogger(Map<String,Object> props) |
| Modifier and Type | Method and Description |
|---|---|
void |
logEvent(String event,
Map<String,Object> producerConfig) |
void |
shutdown() |
public static final String OUTPUT_DIRECTORY_PROP_NAME
public static final String FILE_PREFIX_PROP_NAME
public static final String FILE_EXTENSION_PROP_NAME
public FileLogger(Map<String,Object> props) throws IOException
IOExceptionpublic void logEvent(String event, Map<String,Object> producerConfig)
logEvent in interface EventLoggerpublic void shutdown()
shutdown in interface EventLoggerCopyright © 2017. All rights reserved.