Document trace_filter example in main.rs too.

This commit is contained in:
Nick Mathewson 2021-10-13 12:37:33 -04:00
parent 8113a8ba12
commit 7dd8af55d9
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ struct LoggingConfig {
/// <https://docs.rs/tracing-subscriber/0.2.20/tracing_subscriber/filter/struct.EnvFilter.html>
///
/// You can override this setting with the environment variable ARTI_LOG.
///
/// Example: "info,tor_proto::channel=trace"
trace_filter: String,
/// Whether to log to journald