chalker

package
v0.3.28 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package chalker is a logging interface for the commands->stdout and uses the chalk package

Index

Constants

View Source
const (
	DEFAULT = "default"
	DIM     = "dim"
	BOLD    = "bold"
	ERROR   = "error"
	INFO    = "info"
	SUCCESS = "success"
	WARN    = "warn"
)

Logging color/style types

Variables

This section is empty.

Functions

func Error

func Error(body string) error

Error chalks and returns an error

func Log

func Log(level string, body string)

Log writes chalks to console

Types

This section is empty.

Jump to

Keyboard shortcuts

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