log

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Slack reference: https://atoz-technology.slack.com/archives/C024QHF6ZUN/p1633107324326000?thread_ts=1633010861.297400&cid=C024QHF6ZUN

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func Error

func Error(err error)

func Errorf

func Errorf(format string, v ...interface{})

func Event

func Event(e domain.Event)

func ForEachInnerError

func ForEachInnerError(err error, cb func(error))

ForEachInnerError executes callback for each inner message of err First occured, the deapest in the stack is called first.

func LogFileForDate

func LogFileForDate(date time.Time) string

func LogsDir

func LogsDir() (string, error)

func Open

func Open() error

func Printf

func Printf(format string, v ...interface{})

func PrintfWithCallDepth

func PrintfWithCallDepth(calldepth int, format string, v ...interface{})

func SendEvents

func SendEvents() error

func SetStage

func SetStage(fs *domain.FileStore, p *domain.Project, s *domain.Stage)

func Signal

func Signal(name string)

func Wrap

func Wrap(err error, args ...interface{}) error

Wrap each error with the stack (file and line) where the error is wrapped

func Wrapf

func Wrapf(format string, v ...interface{}) error

Types

type GoBuildError

type GoBuildError struct {
	Name  string
	Dir   string
	Lines []string
}

func (*GoBuildError) Error

func (e *GoBuildError) Error() string

Directories

Path Synopsis
tools
ls
pub

Jump to

Keyboard shortcuts

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