package colorize

import "github.com/Diarkis/diarkis/log/lib/colorize"

Index

Constants

const Blue = 21

Blue Color ID

const DarkBlue = 22

DarkBlue Color ID

const Green = 30

Green Color ID

const Grey = 10

Grey Color ID

const LightBlue = 20

LightBlue Color ID

const Purple = 50

Purple Color ID

const Red = 60

Red Color ID

const RedBg = 100

RedBg Color ID

const Yellow = 40

Yellow Color ID

Functions

func Disable

func Disable()

Disable Turns off colorize

func Enable

func Enable()

Enable Turns on colorize

func Get

func Get(color int, msg string) string

Get Returns colorized string