Skip to content

Releases: kpango/glg

v1.2.10: [patch] add glg.RawString function for Custom Writer (#27)

04 Mar 08:56
Compare
Choose a tag to compare
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)

25 Feb 03:25
945683c
Compare
Choose a tag to compare

[v1.2.8] Release glg fromat store cache

24 Feb 05:56
70f3b9f
Compare
Choose a tag to compare

Changes

  • Remove time.AppendFormat
  • Add formatted cache time buffer

v1.2.7

29 Jan 07:26
f7f13c3
Compare
Choose a tag to compare
[patch] improve test quality (#14)

Remove unused function & variable

13 Nov 05:58
Compare
Choose a tag to compare

Remove unused function & variable

glg.Stop() & glg.Glg.cancel

use stable fastime

13 Nov 02:37
Compare
Choose a tag to compare
v1.2.5

fix

Delete timerd & use fastime native daemon

13 Nov 01:57
fa6cc46
Compare
Choose a tag to compare

add minimum lock

30 Oct 07:34
549312c
Compare
Choose a tag to compare
v1.2.3

fix (#10)

Minor fix Release !

30 Oct 04:33
Compare
Choose a tag to compare

change buffer append logic

Minor fix Release !

09 Jul 06:56
Compare
Choose a tag to compare

This release contains 1 changes and 1 bug fixes

changes

Add SetPrefix function for Print Println Printf

  • glg.SetPrefix("some prefix")

bug fixes

Non formated Output (eg, Print, Info, Debug, etc...) bug