log

package
v0.0.0-...-33659cb Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

**

  • @Author : ICE
  • @Date : 2023-04-19 18:03:42
  • @LastEditTime : 2023-04-20 18:18:58
  • @LastEditors : ICE
  • @Copyright (c) 2023 ICE, All Rights Reserved.
  • @Description : 日志处理类

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(format string, v ...interface{})

func Error

func Error(format string, v ...interface{})

func GetLogger

func GetLogger() *zap.Logger

func Info

func Info(format string, v ...interface{})

func InitLog

func InitLog(level string, log_path string, fields []zapcore.Field)

func Panic

func Panic(format string, v ...interface{})

func Printf

func Printf(format string, v ...interface{})

gorm logger

func Warn

func Warn(format string, v ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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