Logger class for logging messages with ANSI styling and formatting.
Colors the given text with the specified ANSI styles.
The text to color.
Rest
The styles to apply.
The styled text.
Creates an ANSI escape code string with the specified styles.
The ANSI escape code string.
Logs a debug message.
The source of the message.
The message to log.
Logs an error message.
The error message to log.
Formats the given text by adding a tab character before each line.
The text to format.
The formatted text.
Logs an informational message.
Pads the given text to the specified length using the specified characters.
The text to pad.
The desired length of the padded text.
The characters to use for padding. Defaults to a space.
The padded text.
Logs a warning message.
Logger class for logging messages with ANSI styling and formatting.