Current section

Files

Jump to
cloudi_core doc cloudi_logger.html
Raw

doc/cloudi_logger.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Module cloudi_logger</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<hr>
<h1>Module cloudi_logger</h1>
<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>
<h3><a name="CloudI_Logger_Configuration">CloudI Logger Configuration</a></h3>.
<p>Copyright © 2023 Michael Truog</p>
<p><b>Version:</b> 2.0.6 Oct 26 2023 12:17:29
------------------------------------------------------------------------</p>
<p><b>Authors:</b> Michael Truog (<a href="mailto:mjtruog at protonmail dot com"><tt>mjtruog at protonmail dot com</tt></a>).</p>
<h2><a name="description">Description</a></h2>
<h3><a name="CloudI_Logger_Configuration">CloudI Logger Configuration</a></h3>
<h2><a name="index">Function Index</a></h2>
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#aspect_stop_on_error-10">aspect_stop_on_error/10</a></td><td>
<h4><a name="Error_stop_function_for_aspects_log_after_logging_set_configuration.">Error stop function for aspects_log_after logging_set configuration.</a></h4>
Add as {cloudi_logger, aspect_stop_on_error}.</td></tr>
<tr><td valign="top"><a href="#aspect_stop_on_fatal-10">aspect_stop_on_fatal/10</a></td><td>
<h4><a name="Fatal_stop_function_for_aspects_log_after_logging_set_configuration.">Fatal stop function for aspects_log_after logging_set configuration.</a></h4>
Add as {cloudi_logger, aspect_stop_on_fatal}.</td></tr>
</table>
<h2><a name="functions">Function Details</a></h2>
<h3 class="function"><a name="aspect_stop_on_error-10">aspect_stop_on_error/10</a></h3>
<div class="spec">
<p><tt>aspect_stop_on_error(Level::<a href="doc/cloudi_service_api.html#type-loglevel_on">cloudi_service_api:loglevel_on()</a>, Timestamp::<a href="/home/george/organized/work/financial_helper_apps/mc2_all-patterns/intraday_system/cloudi_org/erts/doc/erlang.html#type-timestamp">erlang:timestamp()</a>, Node::node(), Pid::pid(), FileName::nonempty_string(), Line::non_neg_integer(), Function::atom() | undefined, Arity::arity() | undefined, MetaData::[{atom(), any()}] | #{}, LogMessage::iodata()) -&gt; ok</tt><br></p>
<p> </p>
</div><p>
<h4><a name="Error_stop_function_for_aspects_log_after_logging_set_configuration.">Error stop function for aspects_log_after logging_set configuration.</a></h4>
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.</p>
<h3 class="function"><a name="aspect_stop_on_fatal-10">aspect_stop_on_fatal/10</a></h3>
<div class="spec">
<p><tt>aspect_stop_on_fatal(Level::<a href="doc/cloudi_service_api.html#type-loglevel_on">cloudi_service_api:loglevel_on()</a>, Timestamp::<a href="/home/george/organized/work/financial_helper_apps/mc2_all-patterns/intraday_system/cloudi_org/erts/doc/erlang.html#type-timestamp">erlang:timestamp()</a>, Node::node(), Pid::pid(), FileName::nonempty_string(), Line::non_neg_integer(), Function::atom() | undefined, Arity::arity() | undefined, MetaData::[{atom(), any()}] | #{}, LogMessage::iodata()) -&gt; ok</tt><br></p>
<p> </p>
</div><p>
<h4><a name="Fatal_stop_function_for_aspects_log_after_logging_set_configuration.">Fatal stop function for aspects_log_after logging_set configuration.</a></h4>
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.</p>
<hr>
<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<p><i>Generated by EDoc</i></p>
</body>
</html>