utils

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogDebug

func LogDebug(ctx context.Context, args ...interface{})

LogDebug will print when logger's Level is debug.

func LogDebugf

func LogDebugf(ctx iris.Context, format string, args ...interface{})

LogDebugf will print when logger's Level is debug.

func LogError

func LogError(ctx iris.Context, args ...interface{})

LogError will print only when logger's Level is error, warn, info or debug.

func LogErrorf

func LogErrorf(ctx iris.Context, format string, args ...interface{})

LogErrorf will print only when logger's Level is error, warn, info or debug.

func LogInfo

func LogInfo(ctx iris.Context, args ...interface{})

LogInfo will print when logger's Level is info or debug.

func LogInfof

func LogInfof(ctx iris.Context, format string, args ...interface{})

LogInfof will print when logger's Level is info or debug.

func LogWarn

func LogWarn(ctx iris.Context, args ...interface{})

LogWarn will print when logger's Level is warn, info or debug.

func LogWarnf

func LogWarnf(ctx iris.Context, format string, args ...interface{})

LogWarnf will print when logger's Level is warn, info or debug.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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