Expand description
§A specialized Logger for pt
This crate is part of pt
, but can also be used as a standalone
module.
For the library version, only the basic tracing
is used, so that it is possible for
the end user to use the tracing
frontend they desire.
I did however decide to create a Logger
struct. This struct is mainly intended to be used
with the python module of pt
, but is still just as usable in other contexts.
§Technologies used for logging:
tracing
: base logging cratetracing_appender
: Used to log to filestracing_subscriber
: Used to do actual logging, formatting, to stdout
Modules§
- Error module for
pt-log
Macros§
- Constructs an event at the debug level.
- Constructs an event at the error level.
- Constructs an event at the info level.
- Constructs an event at the trace level.
- Constructs an event at the warn level.
Structs§
- Describes the level of verbosity of a span or event.
- Logger for
pt
- Builder for a well configured Logger
Constants§
- The path where logs are stored when no path is given.
- The log level used when none is specified