slog

package
v0.0.0-...-9c30cc4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHandler

func AddHandler(handler func(format string, a ...interface{}))

AddHandler adds a log handler

func Dump

func Dump(path string) error

Dump writes the log to a file

func Print

func Print(format string, a ...interface{})

Print is similar to printf, but adds a newline

func Printf

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

Printf writes to the log

func Println

func Println(a ...interface{})

Println writes to the log

Types

This section is empty.

Jump to

Keyboard shortcuts

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