Commit graph

4 commits

Author SHA1 Message Date
Bhargavi Hanumant Alandikar
3543960689 Elektron Logging library (#16)
switch to logrus for logging.

replaced old logging library with a wrapper around logrus.
We now just need to use the exported Log(...) and Logf(...) from the logging/
package that wraps around a set of loggers constituting a chain (following COR).
Loggers are configured using a YAML file that specifies the following.
1. enabled/disabled
2. whether the message should be logged on console.
3. filename extension.
4. minimum log level.

Retrofitted source code to now use the updated logging library.
Updated the documentation with information regarding the specification
of the log config file.

Currently, the log format in the config file is not adhered to. This is going to be
addressed in a future commit.
2019-12-09 20:15:33 -05:00
Pradyumna Kaushik
6549f8c13c Escape underscore. Changed 'scheduling' to 'sched' in format. 2018-10-05 23:06:04 -04:00
Pradyumna Kaushik
598acf75f2 Description for scheduled trace log. 2018-10-05 22:41:39 -04:00
Pradyumna Kaushik
8f8772a66e Try 2 of image include. Outline for detailed doc. 2018-09-28 01:41:56 -04:00