Initial commit: Upload Checkpoint project

This commit is contained in:
Caileb 2025-05-26 22:25:42 -05:00
commit c0e3781244
32 changed files with 6121 additions and 0 deletions

41
utils/logs.js Normal file
View file

@ -0,0 +1,41 @@
const seenConfigs = new Set();
export function init(msg) {
console.log(msg);
}
export function plugin(_name, msg) {
console.log(msg);
}
export function config(name, msg) {
if (!seenConfigs.has(name)) {
console.log(`Config ${msg} for ${name}`);
seenConfigs.add(name);
}
}
export function db(msg) {
console.log(msg);
}
export function server(msg) {
console.log(msg);
}
export function section(title) {
console.log(`\n=== ${title.toUpperCase()} ===`);
}
export function warn(_category, msg) {
console.warn(`WARNING: ${msg}`);
}
export function error(_category, msg) {
console.error(`ERROR: ${msg}`);
}
// General message function for bullet items
export function msg(msg) {
console.log(msg);
}