Packages

Interop with the BEAM runtime

Current section

Files

Jump to
gleam_beam gen docs gleam beam logger handler index.html
Raw

gen/docs/gleam/beam/logger/handler/index.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>gleam&#x2f;beam&#x2f;logger&#x2f;handler - gleam_beam</title>
<link rel="stylesheet" href="..&#x2f;..&#x2f;..&#x2f;../index.css" type="text/css" />
<!-- The docs_config.js file is provided by HexDocs and shared
between multiple versions of the same package. -->
<script src="..&#x2f;..&#x2f;..&#x2f;../docs_config.js"></script>
</head>
<body>
<header class="page-header">
<h2>
gleam_beam
<span id="project-version"> - v0.1.0 </span>
</h2>
</header>
<div class="page">
<nav class="sidebar">
<a class="sidebar-toggle" href="#" tabindex="0">
<svg
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="bars"
class="svg-inline--fa fa-bars fa-w-14"
role="img"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 448 512"
>
<path
fill="#fff"
d="M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"
>
</path>
</svg>
</a>
<h2>Pages</h2>
<ul>
<li><a href="..&#x2f;..&#x2f;..&#x2f;../index.html">README</a></li>
</ul>
<h2>Links</h2>
<ul>
<li><a href="https:&#x2f;&#x2f;github.com&#x2f;midas-framework&#x2f;beam">GitHub</a></li>
</ul>
<h2>Modules</h2>
<ul>
<li><a href="..&#x2f;..&#x2f;..&#x2f;../gleam&#x2f;beam&#x2f;">gleam&#x2f;beam</a></li>
<li><a href="..&#x2f;..&#x2f;..&#x2f;../gleam&#x2f;beam&#x2f;charlist&#x2f;">gleam&#x2f;beam&#x2f;charlist</a></li>
<li><a href="..&#x2f;..&#x2f;..&#x2f;../gleam&#x2f;beam&#x2f;logger&#x2f;">gleam&#x2f;beam&#x2f;logger</a></li>
<li><a href="..&#x2f;..&#x2f;..&#x2f;../gleam&#x2f;beam&#x2f;logger&#x2f;handler&#x2f;">gleam&#x2f;beam&#x2f;logger&#x2f;handler</a></li>
</ul>
<h2>Functions</h2>
<ul>
<li><a href="#cast_proc_lib_report">cast_proc_lib_report</a></li>
<li><a href="#log">log</a></li>
</ul>
</nav>
<main class="content">
<h1 class="module-name">gleam&#x2f;beam&#x2f;logger&#x2f;handler</h1>
<section class="module-members">
<a href="#module-functions">
<h1 id="module-functions" class="module-member-kind">Functions</h1>
</a>
<div class="member">
<div class="member-name">
<h2 id="cast_proc_lib_report">
<a href="#cast_proc_lib_report">
cast_proc_lib_report
</a>
</h2>
</div>
<pre>pub fn cast_proc_lib_report(
raw: Dynamic,
) -&gt; Result(
tuple(ExitReason, List(tuple(Atom, String, Int, String, Int))),
String,
)</pre>
<div class="rendered-markdown"></div>
</div>
<div class="member">
<div class="member-name">
<h2 id="log">
<a href="#log">
log
</a>
</h2>
</div>
<pre>pub fn log(
event: Dynamic,
config: Map(
Atom,
fn(
ExitReason,
List(tuple(Atom, String, Int, String, Int)),
Int,
) -&gt; a,
),
) -&gt; Nil</pre>
<div class="rendered-markdown"></div>
</div>
</section>
</main>
</div>
<script>const pride = () => document.querySelector('body').classList.toggle('show-pride')</script>
<a class="pride-button" onclick="pride()"></a>
<footer class="pride" onclick="pride()">
<div class="blue">Lucy</div>
<div class="pink">says</div>
<div class="white">trans</div>
<div class="pink">rights</div>
<div class="blue"></div>
</footer>
<script>
if (typeof versionNodes !== 'undefined') {
const versionElement = document.getElementById('project-version')
const currentVersion = "v0.1.0"
if (!versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: '#' })
}
const versionsDropdown = `
<form autocomplete="off">
<select onchange="window.location.href = this.value">
${versionNodes.map(element =>
`
<option value="${element.url}" ${element.version === currentVersion ? "selected disabled" : ""}>
${element.version}
</option>
`
).join('')}
</select>
</form>
`
versionElement.innerHTML = versionsDropdown
}
</script>
</body>
</html>