ExESDB.LoggingSystem (ex_esdb v0.11.0)

LoggingSystem supervisor that manages individual logging workers for different ExESDB components.

This system replaces direct terminal output with PubSub-based logging events that can be consumed by various logging workers and processed appropriately.

The system publishes logging events to the :ex_esdb_logging PubSub topic with the following structure:

%{
  component: :emitter_pool | :emitter_worker | :emitter_system,
  event_type: :startup | :shutdown | :action | :health | :error,
  store_id: atom(),
  pid: pid(),
  timestamp: DateTime.t(),
  message: String.t(),
  metadata: map()
}

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)