small-logger 0.1.0

a small logger for programs who do not know how to log correctly
docs.rs failed to build small-logger-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: small-logger-0.2.1

Small logger

  • reads stdout and stdin of your process
  • adds a timestamps
  • spits the result in a file that is composed of single JSON lines for later parsing
  • file is in ./logs/%Y/%m/%d/process-name-%T.ajson
  • try to never crash

How to use ?

small-logger your-program-name and its arguments

TODO

  • make log folder location a parameter
  • add MARK syslog like to indicate process is still alive when idle for a long time.