/usr/share/doc/lua-logging/us/console.tpl is in lua-logging 1.3.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | <div id="content">
<h2>Console appender</h2>
<p>Console is the simplest appender. It just writes the log messages
to <code>io.stdout</code>.</p>
<pre class="example">
function logging.console([logPattern])
</pre>
<ul>
<li><code>logPattern</code>:<br />
A pattern can be specified to control how the message is
written.<br />
The default value is <code>"%date %level %message\n"</code>.</li>
</ul>
<h2>Examples</h2>
<pre class="example">
require"logging.console"
local logger = logging.console()
logger:info("logging.console test")
logger:debug("debugging...")
logger:error("error!")
</pre>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</div> <!-- id="content" -->
|