log

package
v0.0.0-...-b313b0a Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package log defines the core logging functionality for Abra.

Index

Constants

This section is empty.

Variables

View Source
var Debug = Logger.Debug
View Source
var DebugLevel = charmLog.DebugLevel
View Source
var Debugf = Logger.Debugf
View Source
var Error = Logger.Error
View Source
var Errorf = Logger.Errorf
View Source
var Fatal = Logger.Fatal
View Source
var Fatalf = Logger.Fatalf
View Source
var Info = Logger.Info
View Source
var Infof = Logger.Infof
View Source
var Logger = charmLog.NewWithOptions(os.Stdout, charmLog.Options{
	ReportCaller:    false,
	ReportTimestamp: false,
})

Logger is the central logging interface.

View Source
var SetLevel = Logger.SetLevel
View Source
var SetOutput = charmLog.SetOutput
View Source
var SetReportCaller = charmLog.SetReportCaller
View Source
var Warn = Logger.Warn
View Source
var Warnf = Logger.Warnf

Functions

func Styles

func Styles() *charmLog.Styles

Types

This section is empty.

Jump to

Keyboard shortcuts

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