mlog

package
v0.0.0-...-1a9902f Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: AGPL-3.0, AGPL-3.0-or-later Imports: 6 Imported by: 0

Documentation

Overview

Package mlog handles the log and it's handlers

Index

Constants

View Source
const (
	// DefaultTimeFormat is the default time format
	DefaultTimeFormat = "2006-01-02 15:04:05"

	// Console handler is the console handler
	Console handler = iota
	// Email is the email handler
	Email
)

Variables

View Source
var (

	// ConsoleHandler is the console handler
	ConsoleHandler *console.Console
)

Functions

func Init

func Init(h handler)

Init initializes the logger.

func Update

func Update()

Update the logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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