logger

package
v0.0.0-...-6b1ef89 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger string

Logger logs performed DotFile actions

func New

func New(id string) *Logger

New creates a pointer to a Logger object with a given id.

func (*Logger) Fail

func (l *Logger) Fail(msg, reason string)

Fail logs failed action.

func (*Logger) Skip

func (l *Logger) Skip(msg, reason string)

Skip logs skipped action.

func (*Logger) String

func (l *Logger) String() string

String representation of logger.

func (*Logger) Success

func (l *Logger) Success(msg string)

Success logs successful action.

Jump to

Keyboard shortcuts

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