utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: MIT Imports: 1 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 context.Context, format string, args ...interface{})

LogDebugf will print when logger's Level is debug.

func LogError

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

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

func LogErrorf

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

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

func LogInfo

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

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

func LogInfof

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

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

func LogWarn

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

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

func LogWarnf

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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