Commit graph

5 commits

Author SHA1 Message Date
balandi1
66c4d490b2 Added license to the new go files 2019-12-09 20:05:28 -05:00
balandi1
02abb1e882 Added functions to access members
Functions to access all members of baseElektronLogger.config
2019-12-06 12:59:35 -05:00
Pradyumna Kaushik
5a53998942 fixed visibility of structs. 2019-12-05 23:02:08 -05:00
Pradyumna Kaushik
6fb0e4a3fe move cfg to loggers + refactor + log fn wrappers
1. Instead of maintaining a global config, each specialized logger
now stores its config.
2. Refactored logInterface to elektronLogger.
3. Refactored loggerImpl to baseElektronLogger to be consistent with
the rest of the code base.
4. Wrapped elektronLogger#Log(...) and elektronLogf(...) so that we
do not have to use the instance of elektronLogger everytime we want
to log. Instead, we just do logging.Log(...) or logging.Logf(...).
5. Wrapped elektronLogger#WithFields(...) and
elektronLogger#WithField(...).
6. Refactored codebase to adhere to the changes.
2019-12-05 21:32:37 -05:00
Pradyumna Kaushik
3d201bf437 refactored elektronLogging to logging 2019-12-05 17:38:56 -05:00
Renamed from elektronLogging/schedPolicySwitchLogger.go (Browse further)