log

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package log is DEPRECATED, left for backwards compatibility.

Please use github.com/EridanSilver/clay/v2/server/log directly instead.

Index

Constants

View Source
const (
	// LevelDebug used for debug messages.
	LevelDebug = log.LevelDebug
	// LevelInfo used for info messages.
	LevelInfo = log.LevelInfo
	// LevelWarning used for warning messages.
	LevelWarning = log.LevelWarning
	// LevelError used for error messages.
	LevelError = log.LevelError
	// LevelFatal used for fatal messages. os.Exit(1) is called after printing.
	LevelFatal = log.LevelFatal
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level log.Level

Level is the message urgency level.

type Logrus

type Logrus = log.Logrus

Logrus is the default logger, using sirupsen/logrus as a backend.

type Writer

type Writer = log.Writer

Writer accepts messages along with the Level.

var Default Writer = log.Default

Default is the default logger.

type WriterC

type WriterC = log.WriterC

WriterC is the context-aware Writer.

Jump to

Keyboard shortcuts

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