hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

README (529B)


      1 The log module provides a simple interface for application logging. The
      2 [[logger]] interface provides an abstraction that users may implement for custom
      3 logging logic. We provide a simple logger implementation that prefixes each line
      4 with the current timestamp; to initialize such a logger see [[new]].
      5 
      6 A global logger is also provided for simple applications to use, [[global]],
      7 which is an instance of the standard logger that writes to [[os::stderr]] by
      8 default. The user may configure a new global logger via [[setlogger]].