public class FileBasedEventLogger extends Object implements IEventLogger
IEventLogger.EventInfo| Constructor and Description | 
|---|
| FileBasedEventLogger() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | buildLogMessage(IEventLogger.EventInfo event) | 
| void | close() | 
| void | log(IEventLogger.EventInfo event)This method would be invoked when the  EventLoggerBoltreceives a tuple from the spouts or bolts that has event logging enabled. | 
| void | prepare(Map<String,Object> conf,
       Map<String,Object> arguments,
       TopologyContext context) | 
public void prepare(Map<String,Object> conf, Map<String,Object> arguments, TopologyContext context)
prepare in interface IEventLoggerpublic void log(IEventLogger.EventInfo event)
IEventLoggerThis method would be invoked when the EventLoggerBolt receives a tuple from the spouts or bolts that has event logging enabled.
log in interface IEventLoggerevent - the eventprotected String buildLogMessage(IEventLogger.EventInfo event)
public void close()
close in interface IEventLoggerCopyright © 2020 The Apache Software Foundation. All rights reserved.