logger

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	Namespace string
}

Logger type struct

func New

func New(namespace string) *Logger

New - logger

func (*Logger) Log

func (logger *Logger) Log(c *gin.Context, message string)

Log print to the standard logger

func (*Logger) Printf

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

Printf calls Output to print to the standard logger.

func (*Logger) Println

func (logger *Logger) Println(v ...interface{})

Println calls Output to print to the standard logger.

Jump to

Keyboard shortcuts

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