This website requires JavaScript.
Explore
Help
Sign in
spdf
/
elektron
Archived
Watch
1
Star
0
Fork
You've already forked elektron
0
Code
Issues
4
Pull requests
1
Projects
Releases
Packages
Wiki
Activity
This repository has been archived on
2024-04-10
. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
6fb0e4a3fe
elektron
/
logging
/
types
/
types.go
11 lines
104 B
Go
Raw
Normal View
History
Unescape
Escape
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
package
types
Initial elektromLogging library
2019-11-13 11:19:04 -05:00
const
(
Removed ERROR, GENERAL, SUCCESS, WARNING log types
2019-11-21 14:58:14 -05:00
CONSOLE
=
iota
Used string join at neccesary places. Removed unused code
2019-11-20 16:11:33 -05:00
PCP
SCHED_TRACE
SPS
SCHED_WINDOW
Minor bug fixes
2019-12-04 14:08:17 -05:00
CLSFN_TASKDISTR_OVERHEAD
Initial elektromLogging library
2019-11-13 11:19:04 -05:00
)
Reference in a new issue
Copy permalink