log

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLogLevel

func SetLogLevel(ll logrus.Level)

Types

type Iter8Logger

type Iter8Logger struct {
	*logrus.Logger
}

Iter8Logger inherits all methods from logrus logger

var Logger *Iter8Logger

Logger to be used in all of Iter8

func (*Iter8Logger) WithStackTrace

func (l *Iter8Logger) WithStackTrace(t string) *logrus.Entry

WithStackTrace yields a log entry with a formatted stack trace field embedded in it

type StackTrace

type StackTrace struct {
	Trace string
}

StackTrace is the trace from external components like a shell scripts run by an Iter8 task

func (*StackTrace) String

func (st *StackTrace) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳