Commit graph

10 commits

Author SHA1 Message Date
balandi1
bd8ddd1835 Refactored Code
Moved the 'logDir' and 'logger' global variables into 'loggerImpl' struct
Renamed struct names and interface name
2019-12-05 15:01:11 -05:00
balandi1
64ab443d25 Minor code style fixes
Removed the global logger instance and kept it in LoggerImpl
struct.
Changed access level for members of LoggerImpl.
2019-12-04 14:56:48 -05:00
balandi1
bedfa52d7a Added functions to logging library
Added Logf() and WithFields() functions.
Logf() for logging formatted messages.
WithFields() for handling optional log fields.
2019-12-04 13:16:48 -05:00
balandi1
24dbbb208f Flag for Logger Config yaml file name
Removed yaml filename from env.go and added its flag to scheduler.go
2019-11-26 13:08:45 -05:00
balandi1
ef6d154d06 Refactoring Code
Renamed PcpLogger, SetLogFile(), LogFileName. Changed error messages in loggerConfig.
2019-11-26 12:48:48 -05:00
balandi1
270c8669e6 Revert previous commit. Renamed wrong alias 2019-11-21 14:12:53 -05:00
balandi1
9952b9861d Renamed alias log to elekLog 2019-11-21 14:02:47 -05:00
balandi1
20f2f1e8c5 Used string join at neccesary places. Removed unused code 2019-11-20 16:11:33 -05:00
balandi1
4d15e59d4c Code formatting 2019-11-20 13:33:46 -05:00
balandi1
1fd6c7e4f4 Initial elektromLogging library 2019-11-13 11:19:04 -05:00