lkratos

package module
v0.0.0-...-2e3374b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KratosServer

func KratosServer(logger klog.Logger) middleware.Middleware

KratosServer is an server logging middleware.

func NewKratosLogger

func NewKratosLogger(logger *logx.Logger) klog.Logger

NewKratosLogger returns a new kratos logger

Types

type Logger

type Logger struct {
	*logx.Logger
}

func (Logger) Log

func (l Logger) Log(level klog.Level, msg ...interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL