package
0.0.0-20240516031204-092457bd92e0
Repository: https://github.com/photon-storage/go-common.git
Documentation: pkg.go.dev

# Functions

Background colors BgBlack background color (40).
BgBlue background color (44).
Bright background colors BgBrightBlack background color (100).
BgBrightBlue background color (104).
BgBrightCyan background color (106).
BgBrightGreen background color (102).
BgBrightMagenta background color (105).
BgBrightRed background color (101).
BgBrightWhite background color (107).
BgBrightYellow background color (103).
BgBrown background color (43) Deprecated: use BgYellow instead, following specification.
BgCyan background color (46).
BgGray from 0 to 23.
BgGreen background color (42).
Other BgIndex of 8-bit pre-defined background color from 0 to 255 (48;5;n).
BgMagenta background color (45).
BgRed background color (41).
BgWhite background color (47).
BgYellow background color (43).
Foreground colors Black foreground color (30).
Blink is alias for the SlowBlink.
Blue foreground color (34).
Formats Bold or increased intensity (1).
Bright foreground colors BrightBlack foreground color (90).
BrightBlue foreground color (94).
BrightCyan foreground color (96).
BrightGreen foreground color (92).
BrightMagenta foreground color (95).
BrightRed foreground color (91).
BrightWhite foreground color (97).
BrightYellow foreground color (93).
Brown foreground color (33) Deprecated: use Yellow instead, following specification.
Conceal, hidden, not widely supported (8).
ConfigurePersistentLogging adds a log-to-file writer.
CrossedOut, characters legible, but marked for deletion (9).
Cyan foreground color (36).
No description provided by the author
No description provided by the author
DoublyUnderline or Bold off, double-underline per ECMA-48 (21).
Encircled (52).
No description provided by the author
Faint, decreased intensity (2).
No description provided by the author
No description provided by the author
Fraktur, rarely supported (20).
Framed (51).
No description provided by the author
Gray from 0 to 23.
Green foreground color (32).
Hidden is alias for the Conceal.
Other Index of pre-defined 8-bit foreground color from 0 to 255 (38;5;n).
No description provided by the author
Initialize the Logger.
Inverse is alias for the Reverse.
No description provided by the author
Italic, not widely supported, sometimes treated as inverse (3).
Magenta foreground color (35).
Overlined (53).
No description provided by the author
ParseLevel takes a string level and returns the Logrus log level constant.
RapidBlink, blinking 150+ per minute, not widely supported (6).
Red foreground color (31).
Reverse video, swap foreground and background colors (7).
No description provided by the author
No description provided by the author
SlowBlink, blinking less than 150 per minute (5).
StrikeThrough is alias for the CrossedOut.
No description provided by the author
No description provided by the author
Underline (4).
No description provided by the author
No description provided by the author
White foreground color (37).
Yellow foreground color (33).

# Constants

DebugLevel level.
ErrorLevel level.
FatalLevel level.
No description provided by the author
InfoLevel level.
No description provided by the author
No description provided by the author
PanicLevel level, highest level of severity.
No description provided by the author
TraceLevel level.
WarnLevel level.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author