itrlog

package
v0.0.0-...-f8e3b86 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package itrlog is the custom logger for Go using Zap and Lumberjack libraries.

Index

Constants

View Source
const LogTimeFormat string = "Jan-02-2006 03:04:05 PM"

LogTimeFormat formats the event timestamp.

Variables

This section is empty.

Functions

func InitLog

func InitLog(maxSize, maxAge int) *zap.Logger

InitLog initialize the zap and lumberjack logger library.

Types

This section is empty.

Jump to

Keyboard shortcuts

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