Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracing Test

This is a simple demo for configuring tracing to log messages to console and file.

Dependencies

  1. time: Log time in local timezone
  2. tracing: The tracing crate
  3. tracing-subscriber: The crate to output log messages
  4. tracing-appender: Log messages to file

Log Configuration

  1. Local time is used for logging time
  2. Log messages are written to both console and file
  3. Console logs use pretty format with colors for better readability
  4. File logs use compact format without colors for better text format and are rolled daily
  5. There is a slight time difference between console logs and file logs

Log Examples

Console Log

File Log

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages