logs

package
v0.0.0-...-dd9f884 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(message string, filed ...zapcore.Field)

func Error

func Error(message interface{}, filed ...zapcore.Field)

func Info

func Info(message string, filed ...zapcore.Field)

func RequestLog

func RequestLog(ac AccessLog, filed ...zapcore.Field)

Types

type AccessLog

type AccessLog struct {
	Ip            string
	RequestId     string
	Method        string
	Url           string
	RequestBody   string
	ResponseCode  int
	ResponseBody  string
	ResponserTime string
}

Jump to

Keyboard shortcuts

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