Enchantrix/vault/lib/log.ts
google-labs-jules[bot] 9f60f5696b feat: Expand test coverage for chachapoly
This commit expands the test coverage for the `chachapoly` package to include error and edge cases. It also adds `go.sum` to the `.gitignore` file.
2025-10-30 19:35:51 +00:00

14 lines
208 B
TypeScript

export class EnchantrixLog {
constructor(entry: string, level: number = 1) {
switch (level) {
case 0:
break;
case 1:
console.log(entry)
break
case 2:
console.warn(entry)
}
}
}