Categorygithub.com/seeadoog/asynclog
modulepackage
0.1.6
Repository: https://github.com/seeadoog/asynclog.git
Documentation: pkg.go.dev

# README

async log base on zap and lumberjack

example

    lg, err := NewLogger(&LogConf{
		Level:    "error",
		Filename: "./test.log",
		// Caller:   true,
        //copy log to stdout
		ExtraWriters: []io.Writer{os.Stdout},
	})
	if err != nil {
		panic(err)
	}
	slog := lg.Sugar()

	slog.Errorw("error", "dd", "x", "mm", map[string]any{"xx": "xx"})

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
async tcp writer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author