Compare commits

...

18 Commits

Author SHA1 Message Date
6b55f9bbd9 Merge branch 'dev' into dev-database
All checks were successful
Deploy datapack to dev / Build (push) Successful in 6s
2025-03-21 10:26:09 -05:00
3091d6b3f4 Restructure imports in main.jmc
All checks were successful
Deploy datapack to dev / Build (push) Successful in 8s
2025-03-21 10:24:33 -05:00
6cb4b30b2d Merge pull request 'Create general purpose logging module' (#4) from dev-logging into dev
All checks were successful
Deploy datapack to dev / Build (push) Successful in 8s
Reviewed-on: #4
2025-03-11 20:31:37 -05:00
b6e1d224e5 Fix debug logging messages 2025-03-11 19:55:30 -05:00
9117c84653 Enable debug logging to bypass log level 2025-03-11 19:55:30 -05:00
7bfa12b539 Turn line into macro command 2025-03-11 19:55:30 -05:00
d30418d57a Fix log level message to display current log level 2025-03-11 19:55:30 -05:00
accd746389 Change logger type check to use temp var 2025-03-11 19:55:30 -05:00
cf55f238ff Add logger error for invalid type paramater 2025-03-11 19:55:30 -05:00
68d4b8c25d Add log level threshold
Set default log level to 3, or ERROR. Ensure log level isn't overriden
on reload. Add errors if log level is misconfigured.
2025-03-11 19:55:30 -05:00
686592df33 Add double-quotes back to log messages
Double-quotes were initially removed for aesthetic reasons. However, JMC
collapses whitespace, resulting in mangled message output. Double quotes
are converted to single quotes in compliled output.
2025-03-11 19:55:30 -05:00
28d85c4e02 Remove double-quotes from log messages 2025-03-11 19:55:30 -05:00
5468fa9605 Add "caller" paramteter to logger 2025-03-11 19:55:30 -05:00
daa70062f6 Show status after toggling logger 2025-03-11 19:55:30 -05:00
f4d444635b Revert logger status from printf to say 2025-03-11 19:55:30 -05:00
58ef0a251e Add logger status function 2025-03-11 19:55:30 -05:00
3b6990be85 Rename logger toggle function 2025-03-11 19:55:30 -05:00
3ff1bded99 Create logging module 2025-03-11 19:55:30 -05:00

View File

@ -1,3 +1,4 @@
import "src/*"; import "src/logger.jmc";
import "src/commands.jmc";
function __tick__() {} function __tick__() {}