package
0.0.0-20200103080059-261bb52eea6a
Repository: https://github.com/cluas/gim.git
Documentation: pkg.go.dev

# Functions

Bg creates a context-unaware sLogger.
For returns a context-aware Logger.
Init is initial func.
NewFactory creates a new Factory.
With creates a child sLogger, and optionally adds some context fields to that sLogger.

# Variables

XFactory is default factory.

# Structs

Config is log conf.
Factory is the default logging wrapper that can create sLogger instances either for a given Context or context-less.

# Interfaces

Logger is a simplified abstraction of the zap.Logger.