View Source erldist_filter_logger_sup (erldist_filter v1.1.0)

Link to this section Summary

Link to this section Types

-type worker_count() :: non_neg_integer().

Link to this section Functions

Link to this function

child_spec(Handler, HandlerOptions, WorkerCount)

View Source
-spec child_spec(Handler, HandlerOptions, WorkerCount) -> supervisor:child_spec()
              when
                  Handler :: erldist_filter_logger:handler(),
                  HandlerOptions :: erldist_filter_logger:handler_options(),
                  WorkerCount :: worker_count().
Link to this function

child_specs(Handler, HandlerOptions, WorkerCount)

View Source
-spec child_specs(Handler, HandlerOptions, WorkerCount) -> ChildSpecs
               when
                   Handler :: erldist_filter_logger:handler(),
                   HandlerOptions :: erldist_filter_logger:handler_options(),
                   WorkerCount :: worker_count(),
                   ChildSpecs :: [supervisor:child_spec()].
-spec init({Handler, HandlerOptions, WorkerCount}) -> InitResult
        when
            Handler :: erldist_filter_logger:handler(),
            HandlerOptions :: erldist_filter_logger:handler_options(),
            WorkerCount :: worker_count(),
            InitResult :: {ok, {SupFlags, [ChildSpec]}} | ignore,
            SupFlags :: supervisor:sup_flags(),
            ChildSpec :: supervisor:child_spec().
Link to this function

start_link(Handler, HandlerOptions, WorkerCount)

View Source
-spec start_link(Handler, HandlerOptions, WorkerCount) -> supervisor:startlink_ret()
              when
                  Handler :: erldist_filter_logger:handler(),
                  HandlerOptions :: erldist_filter_logger:handler_options(),
                  WorkerCount :: worker_count().