log

package
v0.0.0-...-ad0604f Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const SrcHTTP = "H"

SrcHTTP - HTTP log sources

View Source
const SrcHTTPAssets = "A"

SrcHTTPAssets - HTTP static assets sources

View Source
const SrcMsg = "M"

SrcMsg - messages log sources

View Source
const SrcSVC = "S"

SrcSVC - services log sources

View Source
const SrcWS = "W"

SrcWS - WebSocket log sources

Variables

This section is empty.

Functions

func Enabled

func Enabled() bool

Enabled func

func Report

func Report(fields ...string)

Report func

Types

type Task

type Task struct {
	// contains filtered or unexported fields
}

Task struct

func NewTask

func NewTask(defaultLogFileName string) *Task

NewTask func

func (*Task) Close

func (t *Task) Close(ctx *tasks.ServiceTaskContext) error

Close func

func (*Task) Open

func (t *Task) Open(ctx *tasks.ServiceTaskContext) error

Open func

func (*Task) Stop

func (t *Task) Stop(ctx *tasks.ServiceTaskContext)

Stop func

Jump to

Keyboard shortcuts

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