log

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2019 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