ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
colorize.h
Go to the documentation of this file.
1
14
15#ifndef LOG_COLORIZE_H
16#define LOG_COLORIZE_H
17
18#include <stdbool.h>
19#include <stddef.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
39const char *colorize_log_message(const char *message);
40
42const char *colorize_log_message_with_color(const char *message, bool enabled);
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif
const char * colorize_log_message(const char *message)
Colorize a log message for terminal output.
Definition colorize.c:560
const char * colorize_log_message_with_color(const char *message, bool enabled)
Definition colorize.c:568
bool enabled
Is filtering active?
Definition grep.c:63