Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 363 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 363 Bytes

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)