mirror of
https://github.com/nabbar/golib.git
synced 2025-11-02 03:52:36 +08:00
- Fix some lint, style, error
- Pkg Error : change the register part to allow identify if a code is free or still defined - Pkg Error : apply change of register into all modules - Make some optimization
This commit is contained in:
@@ -218,7 +218,7 @@ func (level Level) Logf(format string, args ...interface{}) {
|
||||
// LogData Simple function to log directly the given message with given data with the attached log Level
|
||||
/*
|
||||
message a string message to be logged with the attached log Level
|
||||
data an interface of data to be logged with the message. (In Text format, the data will be json marshalled)
|
||||
data an interface of data to be logged with the message. (In Text format, the data will be json marshaled)
|
||||
*/
|
||||
func (level Level) LogData(message string, data interface{}) {
|
||||
level.logDetails(message, data, nil, nil)
|
||||
|
||||
Reference in New Issue
Block a user