Releases: kpango/glg
Releases · kpango/glg
v1.2.10: [patch] add glg.RawString function for Custom Writer (#27)
Add RawString function Usage is below ```go type obj struct{} func (n obj) Write(b []byte) (int, error) { glg.Infof("RawString is %s", glg.RawString(b)) // RawString is debug return len(b), nil } ``` ```go glg.Get().AddLevelWriter(glg.DEBG, obj{}) glg.Debug("debug") ``` Signed-off-by: kpango <[email protected]>
v1.2.9: [patch] use bytes.Buffer (#25)
Signed-off-by: kpango <[email protected]>
[v1.2.8] Release glg fromat store cache
Changes
- Remove time.AppendFormat
- Add formatted cache time buffer
v1.2.7
Remove unused function & variable
Remove unused function & variable
glg.Stop() & glg.Glg.cancel
use stable fastime
v1.2.5 fix
Delete timerd & use fastime native daemon
v1.2.4 fix (#11)
add minimum lock
v1.2.3 fix (#10)
Minor fix Release !
change buffer append logic
Minor fix Release !
This release contains 1 changes and 1 bug fixes
changes
Add SetPrefix function for Print Println Printf
glg.SetPrefix("some prefix")