script_log

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerFactory

type LoggerFactory interface {
	NewLogger(enabled bool) string
	GetLogger(logID string) ScriptLog
	Print(logID string, a ...interface{})
	Printf(logID string, format string, a ...interface{})
	Println(logID string, a ...interface{})
	Output(logID string) string
}

func LogFactoryInst

func LogFactoryInst() LoggerFactory

type ScriptLog

type ScriptLog interface {
	Print(a ...interface{})
	Printf(format string, a ...interface{})
	Println(a ...interface{})
	Output() string
}

func NewScriptLog

func NewScriptLog(enabled bool) ScriptLog

Jump to

Keyboard shortcuts

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