You're seeing just the function log, go back to DataLogger module for more information.


log(DataLogger.Destination.topic(), data :: term()) ::
  :ok | {:error, reason :: term()}

This function is the sole entry point of the DataLogger application. It is used to log/send the data passed to it to the configured destinations.

The topic given can be used to send the data to different sub-destinations of every destination configured.