log

package
v0.0.0-...-1814096 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IndentLevel is the value of current indent level.
	IndentLevel int = 0
	// Indent is the string of current indent level.
	Indent string = ""
)

Functions

func Print

func Print(a ...interface{})

Print writes the specified string with indent.

func PrintBlankLine

func PrintBlankLine()

PrintBlankLine writes empty line.

func Println

func Println(a ...interface{})

Println writes the specified string. Indent is added and a newline is appended.

func ResetLine

func ResetLine()

Resetline cancels the previous line.

func SetIndentLevel

func SetIndentLevel(level int)

SetIndentLevel sets the current indent level by integer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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