MIT licensed by @serokell
This version can be pinned in stack with:log-warper-1.3.1@sha256:b1a420a8c337daadfab8ece62fc137e4c025f0784105a410235256285ce3a0c7,5668
Module documentation for 1.3.1
Depends on 31 packages
(full list with versions):
aeson,
ansi-terminal,
base,
containers,
deepseq,
directory,
dlist,
errors,
exceptions,
extra,
filepath,
fmt,
formatting,
hashable,
lens,
log-warper,
mmorph,
monad-control,
monad-loops,
mtl,
network,
safecopy,
text,
text-format,
time,
transformers,
transformers-base,
universum,
unix,
unordered-containers,
yaml This package implements nice and featureful wrapper around hslogger library.
1.3.1
- Fix minor bug with stdout severity.
1.3.0
- Allow to use arbitrary text formatter function.
1.2.4
- Add ability to specify time format for logs.
- Some space leaks elimination:
- The
MemoryQueue
has been partially reworked to get rid of the “inline” State manipulation;
- Strings have been dropped almost everywhere in favour of
Text
;
- A
LogFormatter
has been reworked to yield a IO Builder
;
replaceVarM
has been reworked to be pure and to work with builders rather than plain Text/Strings;
- The pure logger has been reworked to use strict’s
StateT
instead of WriterT;
- The pure logger have been polished to drop instances which required the
UndecidableInstances
pragma;
- The
Sized
instance for Text
has been reworked and multiplied by a constant factor of 16 (see below).
1.2.3
- Now we create a directory for log files if it’s missing.
1.2.2
- Fixed memory leak (PR #17).
1.2.1
- Supports Unix paths in log configs even on Windows.
1.2.0
1.1.4
- Add
CanLog
and HasLoggerName
instances for both strict and lazy State
.
1.1.3
- Add config parameter to print
ThreadId
optionally.
- Boolean monoidal builders for
LoggerConfig
now set boolean
parameter to default ≠ mempty
parameter.