File: README

package info (click to toggle)
hare 0.25.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,948 kB
  • sloc: asm: 1,264; makefile: 123; sh: 114; lisp: 101
file content (10 lines) | stat: -rw-r--r-- 566 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
log: general-purpose logging system

The log module provides a simple interface for application logging. The
[[logger]] interface provides an abstraction that users may implement for custom
logging logic. We provide a simple logger implementation that prefixes each line
with the current timestamp; to initialize such a logger see [[new]].

A global logger is also provided for simple applications to use, [[global]],
which is an instance of the standard logger that writes to [[os::stderr]] by
default. The user may configure a new global logger via [[setlogger]].