Commit Graph

31 Commits

Author SHA1 Message Date
6836cab537 Re-enable color output on Windows. 2025-06-04 13:54:50 -05:00
f3cec87518 LibraryLogger for implementing an easy generic logger that can be toggled for libraries 2024-09-17 23:39:14 -04:00
b3dbd1b556 It builds now :/ 2024-08-26 12:31:00 -04:00
d704b6c74d Doing some fancying up 2024-08-21 09:23:02 -04:00
d8133772de Another rewrite and total restructure 2024-08-20 20:08:34 -04:00
c65cc4f965 LogEntry class, prettied up code and log output more, OnLogEvent now takes a LogEntry instead of a vector<token> 2024-08-14 15:12:32 -04:00
c5b9d50a2b Doing some cleaning up. There is now a Timestamp type used for log formatting. 2024-08-14 12:31:19 -04:00
d8439efcaf Updated README. New demo image. Fixed typo in demo. 2024-08-13 16:01:38 -04:00
7b25a097cd Made main.cpp more professional 2024-08-13 15:43:05 -04:00
fe158ab88e Make sure we're all up to date 2024-08-13 15:03:15 -04:00
c735e4baa1 Added OnLogEvent 2024-08-13 14:25:54 -04:00
96b759d54e Decent-size refactor pt1 2024-08-12 23:21:33 -04:00
1ae346304e Stylistic adjustments 2024-08-12 14:08:15 -04:00
2795756235 parent tracing plus other nice stuff 2024-08-12 13:54:20 -04:00
c17a34f0f1 Rewrote logging class/interface bullshit. Anyway it took a while and there's a lot of cool shit. 2024-08-09 16:01:48 -04:00
404c3dceba Rewrote jlog entirely. Macros are no longer needed thanks to C++ builtin shit. There's a lot to cover, so just read the source code if you actually care. 2024-08-08 14:25:34 -04:00
e0b6879ec5 Confirmed setting default log file to NUL on Windows works the same as /dev/null on Linux. Also placed a forgotten semicolon 2024-07-18 11:00:16 -04:00
73f92d0c1a Default logfile can be set to /dev/null on Linux to disable file logging. Supposedly NUL on Windows will work the same way. 2024-07-18 10:58:32 -04:00
aace84af52 Allow disabling of console output for logging. New macro CONSOLELOGGING set to true/false to enable/disable. 2024-07-18 10:48:27 -04:00
3e414abc8d Implemented ability to specify custom logfile globally and per-function. Wrote helper functions to make writing custom loggers easier. Still need to work on the windows side of things, but that should be easy. 2024-06-28 12:59:07 -04:00
Redacted
9f0ccef302 Refactor to abstract platform-specific colorcodes away from the higher-level API 2024-06-26 19:17:12 -04:00
95f2c761c7 Rewritten most functionality to be more generic and flexible. Cleaned up code as well. Implemented formatter system for easier wrapping. Made it easier for custom loggers to be built from jlog generics and primitives. Removed unused ultra short and short loggers to remove clutter. 2024-06-19 11:23:57 -04:00
2799c918b8 Implemented log level handling/switching. Use LOGLEVEL macro for setting level/severity. See jlog::severity in jlog.hpp for more information. 2024-06-18 12:11:41 -04:00
4b512df77a Windows color codes. 2024-06-16 18:52:05 -04:00
eb21b8a81f Windows 2024-06-16 11:07:24 -07:00
maxbyte9p
f22b869335 Added short and ultra short logger messages. 2024-06-15 21:09:28 -04:00
17bd6b17ff Fix up README 2024-06-14 12:47:46 -04:00
7ab579fa0b Implement macros that capture current file, line, and function name. 2024-06-13 13:48:20 -04:00
4106bdb662 Partial work 2024-06-13 12:30:48 -04:00
85203b29e4 Partial work 2024-06-13 00:49:04 -04:00
e719b700e4 Initial Commit 2024-06-11 20:03:10 -04:00