Module cloudi_logger

CloudI Logger Configuration

.

Copyright © 2023 Michael Truog

Version: 2.0.6 Jun 20 2023 18:35:41 ------------------------------------------------------------------------

Authors: Michael Truog (mjtruog at protonmail dot com).

Description

CloudI Logger Configuration

Function Index

aspect_stop_on_error/10

Error stop function for aspects_log_after logging_set configuration.

Add as {cloudi_logger, aspect_stop_on_error}.
aspect_stop_on_fatal/10

Fatal stop function for aspects_log_after logging_set configuration.

Add as {cloudi_logger, aspect_stop_on_fatal}.

Function Details

aspect_stop_on_error/10

aspect_stop_on_error(Level::cloudi_service_api:loglevel_on(), Timestamp::erlang:timestamp(), Node::node(), Pid::pid(), FileName::nonempty_string(), Line::non_neg_integer(), Function::atom() | undefined, Arity::arity() | undefined, MetaData::[{atom(), any()}] | #{}, LogMessage::iodata()) -> ok

Error stop function for aspects_log_after logging_set configuration.

Add as {cloudi_logger, aspect_stop_on_error}. With the aspect function added to the configuration, CloudI log output will cause CloudI to stop execution after fatal or error log output.

aspect_stop_on_fatal/10

aspect_stop_on_fatal(Level::cloudi_service_api:loglevel_on(), Timestamp::erlang:timestamp(), Node::node(), Pid::pid(), FileName::nonempty_string(), Line::non_neg_integer(), Function::atom() | undefined, Arity::arity() | undefined, MetaData::[{atom(), any()}] | #{}, LogMessage::iodata()) -> ok

Fatal stop function for aspects_log_after logging_set configuration.

Add as {cloudi_logger, aspect_stop_on_fatal}. With the aspect function added to the configuration, CloudI log output will cause CloudI to stop execution after fatal log output.


Generated by EDoc