Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { // log at different level. Depending on the performance, might need to use the batch // list later. Infow(msg string, keysAndValues ...string) Warnw(msg string, keysAndValues ...string) Debugw(msg string, keysAndValues ...string) Errorw(msg string, keysAndValues ...string) // Fatal logs a fatal error and exit with status 1. Fatal(msg string, err error) // Close the logger safely. Close() }
func NewAliyunProvider ¶
func NewAliyunProvider(cfg config.LoggerConfig) Provider
func NewMockProvider ¶
func NewMockProvider() Provider
func NewProvider ¶
func NewProvider(cfg config.LoggerConfig) Provider
Click to show internal directories.
Click to hide internal directories.