Package org.apache.storm.metric

## Interface IEventLogger

- All Known Implementing Classes:
    `FileBasedEventLogger`

      public interface IEventLogger

  EventLogger interface for logging the event info to a sink like log file or db for inspecting the events via UI for debugging.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface | Description
    --- | --- | ---
    `static class` | `IEventLogger.EventInfo` | A wrapper for the fields that we would log.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `close()` |
    `void` | `log​(IEventLogger.EventInfo e)` | This method would be invoked when the `EventLoggerBolt` receives a tuple from the spouts or bolts that has event logging enabled.
    `void` | `prepare​(Map<String,​Object> conf, Map<String,​Object> arguments, TopologyContext context)` |

- - ### Method Detail

    - #### prepare

          void prepare​(Map<String,​Object> conf,
                       Map<String,​Object> arguments,
                       TopologyContext context)

    - #### log

          void log​(IEventLogger.EventInfo e)

      This method would be invoked when the `EventLoggerBolt` receives a tuple from the spouts or bolts that has event logging enabled.
      Parameters:
        `e` - the event

    - #### close

          void close()