Crate libpt_log

source ·
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 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. You can use this struct when use of the macros is not possible, but the macros should generally be preferred.

§Technologies used for logging:

Re-exports§

Modules§

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§

Constants§