log_util

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLogFile

func SetLogFile(loger *log.Logger, logPath string, log_type LOG_TYPE) error

Types

type LOG_TYPE

type LOG_TYPE string
const LOG_TYPE_DAY LOG_TYPE = "20060102"
const LOG_TYPE_HOUR LOG_TYPE = "2006010215"

Jump to

Keyboard shortcuts

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