Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // URL is used to style URLs. URL = lipgloss.NewStyle().Foreground(lipgloss.Color("3")).Render // Warning is used to style warnings for the user. Warning = lipgloss.NewStyle().Foreground(lipgloss.Color("11")).Bold(true).Render )
View Source
var Keyword = lipgloss.NewStyle(). Padding(0, 1). Foreground(lipgloss.AdaptiveColor{Light: "#FF4672", Dark: "#ED567A"}). Background(lipgloss.AdaptiveColor{Light: "#DDDADA", Dark: "#242424"}). Render
Keyword should be used to highlight code.
Functions ¶
func NewConditionalWriter ¶ added in v1.2.0
NewConditionalWriter creates a new log writer that only writes when the given condition is met or debug is enabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.