aboutsummaryrefslogtreecommitdiffstats
path: root/core/logging.h
Commit message (Collapse)AuthorAgeFilesLines
* fix printf format for MinGW (#942)Rosen Penev2023-12-031-2/+2
| | | | | | With gcc, mingw uses gnu_printf. With clang, printf is used as it does not support gnu_printf. Use the internal header to match this properly. Signed-off-by: Rosen Penev <[email protected]>
* Add a function to set a callback for log messagesChris Robinson2023-07-021-19/+6
|
* Don't pass the file handle to al_printChris Robinson2023-07-011-9/+9
|
* Use macros for the likely/unlikely attributesChris Robinson2023-03-011-3/+3
| | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places.
* Fix debug logging on Windows non-release buuildsChris Robinson2023-01-161-1/+1
| | | | And skip logging for appropriate log levels on Windows release builds.
* Combine multiple al_printf definitionsChris Robinson2023-01-021-13/+12
| | | | And separate the log level prefix from the message.
* Avoid using a macro to wrap standard attributesChris Robinson2022-12-061-3/+3
|
* Avoid some uses of the LIKELY/UNLIKELY macrosChris Robinson2022-12-051-3/+3
|
* Workaround mingw complaining about the %z formatterChris Robinson2021-03-121-1/+6
|
* Move logging to coreChris Robinson2020-12-171-0/+47