clog

package
v0.0.0-...-ff8b13d Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package clog stands for custom-log

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blue

func Blue(s string) string

Blue outputs the input string in blue color on compatible systems

func Errorlb

func Errorlb(v interface{}, label string)

Errorlb prints any value preceded by a label with a red "ERROR" tag.

func Fatallb

func Fatallb(v interface{}, label string)

Fatallb (fatal-label) prints the input preceded by a label and exits

func Green

func Green(s string) string

Green outputs the input string in green color on compatible systems

func Printlb

func Printlb(v interface{}, label string)

Printlb (print-lalbel) prints the input preceded by a label. Can be handy for debugging.

func Red

func Red(s string) string

Red outputs the input string in red color on compatible systems

Types

This section is empty.

Jump to

Keyboard shortcuts

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