gin-logger: github.com/ahmdrz/gin-logger Index | Files

package ginlogger

import "github.com/ahmdrz/gin-logger"

Index

Package Files

file.go logger.go

type Logger Uses

type Logger struct {
    // contains filtered or unexported fields
}

func FileLogger Uses

func FileLogger(fileName string, maxDays int) (*Logger, error)

func LoggerWithWriter Uses

func LoggerWithWriter(out io.Writer) *Logger

func StdoutLogger Uses

func StdoutLogger() *Logger

func (*Logger) MiddlewareFunc Uses

func (l *Logger) MiddlewareFunc() gin.HandlerFunc

func (*Logger) Prefix Uses

func (l *Logger) Prefix(p string) *Logger

Package ginlogger imports 9 packages (graph). Updated 2018-06-18. Refresh now. Tools for package owners.