Skip to content

choucaicai/klogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

klogger

a logrus formatted logger for kratos

Basic

This package will offer you a logger which can be conbined with kratos.

This logger implement kratos Log interface

And implement logrus Format interface

Usage

MyLogger := klogger.NewLogger()

// kratos/log 
log.NewHelper(MyLogger).Info("interface is initiating!")

// log.SetLogger(logger)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages