Commit Graph

73 Commits

Author SHA1 Message Date
maxine
bfb6fc0702 Merge pull request 'nomacros' (#16) from nomacros into main
Reviewed-on: #16
2024-08-13 16:21:49 -04:00
b19e2ea651 Added TODO 2024-08-13 16:16:09 -04:00
18dd697470 Disable color output on Windows for now. 2024-08-13 16:14:48 -04:00
ae46df7006 small fix for windows 2024-08-13 16:08:49 -04:00
eb9a2b26b9 Updated README.md 2024-08-13 16:05:40 -04:00
758925c837 Added "No more macros for traceback!" to README.md 2024-08-13 16:04:18 -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
633bee1e9f Using Color4 for logger color codes now. It's 2024 if your terminal doesn't support 16 million colors your terminal sucks 2024-08-13 14:50:39 -04:00
c735e4baa1 Added OnLogEvent 2024-08-13 14:25:54 -04:00
168af78441 Smoothing it out 2024-08-13 13:40:20 -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
maxine
f7ee1a347e Merge pull request 'Allow disabling of console output for logging. New macro CONSOLELOGGING set to true/false to enable/disable.' (#13) from mcolortest into main
Reviewed-on: #13
2024-07-18 10:49:39 -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
maxine
47e06dd8ed Merge pull request 'mcolortest merge' (#12) from mcolortest into main
Reviewed-on: #12
2024-07-18 10:05:45 -04:00
cad79a474a Make jlog log_to_console use mcolor windowsSaneify for Windows platform 2024-07-02 13:33:52 -04:00
67a83bbac4 Removed need for jlog to handle colors. Using mcolor library now. 2024-07-02 13:28:00 -04:00
e553c74ade Cleanup Prerelease-12 2024-07-01 14:48:56 -04:00
9d36f07717 Beating Windows and MSVC further into submission. 2024-07-01 14:28:18 -04:00
47caaba587 Forcing abstraction to work with windows and beating windows into submission to work like a good boy 2024-07-01 14:05:12 -04:00
f2651b58df FIx bug causing std::max to be an error in j3ml QuaternionTests 2024-06-28 18:19:22 -04:00
83df783e7c Unfortunate regression to get Windows ColorCodes working again. Will clean up shortly. (Test On Linux Also) 2024-06-28 14:45:04 -04:00
99c1fe9f4c Color output currently broken, see notes. 2024-06-28 14:09:31 -04:00
e0355d2a32 Merge remote-tracking branch 'origin/main' 2024-06-28 13:57:42 -04:00
8e0d99ce75 forgot semiclon 2024-06-28 13:57:42 -04:00
2394f51240 Fix syntax error 2024-06-28 13:57:27 -04:00
e83dd27d31 Made logger more platform agnostic. Hopefully supporting Windows properly for the message formatter functions. 2024-06-28 13:54:11 -04:00
623b9efc26 Accreditations Prerelease-11 2024-06-28 13:16:25 -04:00
f74b97ac11 const-ref tokens in loop since they aren't modified here 2024-06-28 13:09:26 -04:00
abb9eed60f use std::function signature in argument? 2024-06-28 13:06:43 -04:00
5675480499 Merge remote-tracking branch 'origin/main' 2024-06-28 12:59:15 -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
69ef213d85 More documentation 2024-06-28 12:57:33 -04:00
22e75476f3 Remove several now-unused functions 2024-06-28 12:30:04 -04:00
e5d8ea5faa Removed unused include "format" Prerelease-10 2024-06-28 09:43:31 -04:00
e870007004 Beginning documentation effort. 2024-06-27 15:09:10 -04:00
4138b45404 Implement basic capability to log to specified file. 2024-06-27 14:57:14 -04:00
f0ccdf00c0 consolidate as much as possible Prerelease-9 2024-06-26 21:19:04 -04:00
Redacted
9f0ccef302 Refactor to abstract platform-specific colorcodes away from the higher-level API 2024-06-26 19:17:12 -04:00
c5d3f7dc82 Updated README.md Prerelease-8 2024-06-19 11:26:53 -04:00
aaa7318672 Merge remote-tracking branch 'origin/main' 2024-06-19 11:25:01 -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
Redacted
16d1eaa1ee Update README.md 2024-06-18 21:49:22 -04:00