Example configurations ````````````````````````````` Here shows some example full configurations. .. contents:: :depth: 1 :local: :backlinks: none Example configuration to use the default log sink to write to console ------------------------------------------------------------------------- .. literalinclude:: ../../../../../examples/logging/configs/use_default_log_sink.toml :caption: examples/logging/configs/use_default_log_sink.toml :language: toml Example configuration to write to a file ------------------------------------------------------ .. literalinclude:: ../../../../../examples/logging/configs/write_to_single_file.toml :caption: examples/logging/configs/write_to_single_file.toml :language: toml Example configuration to write to console and file ------------------------------------------------------------------- .. literalinclude:: ../../../../../examples/logging/configs/write_to_console_and_file.toml :caption: examples/logging/configs/write_to_console_and_file.toml :language: toml