summaryrefslogtreecommitdiff
path: root/core/logging.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-03-20core: logging: make terminal settings configurableDanny Holman1-32/+51
Make the settings of the log output configurable. Both the color output and the output of debug messages should be togglable at runtime. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-10-25core: ANSI colors need additional setup on WindowsDanny Holman1-1/+15
The ANSI color codes require additional setup when running under Win32. The logging API should reflect that. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-10-02core: logging: make color output optionalDanny Holman1-8/+37
Add functions that toggle color output from the logging framework. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-09-18core: logging: print errors and warnings in colorDanny Holman1-6/+18
Print warnings and errors in yellow and red respectively. This will make these messages stand out and make it easier for a developer to find them in the terminal window. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-09-17core: add several new filesDanny Holman1-1/+1
Add several new files to the core subsystem. These files will be the basic building blocks upon which the rest of the engine will sit atop of. These files will be present in all builds, including headless and platform builds. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-08-30Makefile: retool the build systemv0.55Danny Holman1-1/+1
Retool the build system to be more modular and more flexible. Move all subsystems into separate directories and create make.config files that will conditionally compile based on information from the root Makefile. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-08-25core: refactor entire project rootDanny Holman1-0/+0
Reorganize the project root such that each subsystem is placed into its own subdirectory. This allows the build system to select which subsystems to enable for a particular build. Signed-off-by: Danny Holman <dholman@gymli.org>
2024-08-22core: add a basic logging frameworkDanny Holman1-0/+40
Add a basic framework for logging messages to the console or to a file. Signed-off-by: Danny Holman <dholman@gymli.org>