Module logging

Module logging 

Source
Expand description

Tracing and logs management for the application.

This module is responsible for setting up and configuring the application’s logging system using the tracing crate.

It initializes a subscriber that directs logs to a dedicated log file within the application’s data directory.

Functions§

init
Initializes the tracing subscriber to output logs to a file
resolve_path_and_filter
Resolves the log path and filter based on the config and environment variable. If logging is disabled, returns None for the filter.