Enchantrix/vault/lib/log.ts
google-labs-jules[bot] c1434a45ce feat: Port crypt library from Core
This commit ports the crypt library from the Core repository to the Enchantrix repository. It includes the following changes:

- The project is now a Go module.
- The `lthn` and `crypt` packages have been ported from the Core repository.
- The PGP functionality has been commented out pending resolution of dependency issues.
- The old Deno project has been moved to the `vault` directory.
- The README has been updated to reflect the new project structure.
2025-10-30 17:11:31 +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)
}
}
}