log

package
v0.0.0-...-b748cd6 Latest Latest
Warning

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

Go to latest
Published: May 13, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BuilderProcess is a kind of process type. This type occurs from builder events.
	BuilderProcess = "builder"
	// DeployerProcess is a kind of process type. This type occurs from deployer events.
	DeployerProcess = "deployer"
)
View Source
const (
	// HerogateSource is a kind of source type. This type occurs from Herogate internal events.
	HerogateSource = "herogate"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	ID        string
	Timestamp time.Time
	Source    string
	Process   string
	Message   string
}

Log is a Herogate log. This is including ID, timestamp, log source, and log process.

func (*Log) Format

func (l *Log) Format() string

Format returns formatted text. This text including source, process, and timestamp (RFC3339).

Jump to

Keyboard shortcuts

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