dogger
1package main
2
3import (
4"context"
5"github.com/enescakir/emoji"
6
7"github.com/nikwo/dogger"
8)
9
10func main() {
11ctx := context.Background()
12dogger.WithContext(ctx).Trace("hello")
13dogger.Debug("world")
14dogger.WithContext(ctx).WithFields("chiba", "inu").Info(emoji.Sprintf("i :heart: pugs!"))
15dogger.Info("dogs aren't cute")
16dogger.WithContext(ctx).Error("error: dogs are cute, you've lied!")
17}
18