This commit is contained in:
Dax Raad
2025-05-31 18:42:43 -04:00
parent 6d21525e71
commit e97ed735d9
12 changed files with 58 additions and 45 deletions

View File

@@ -53,6 +53,9 @@ export namespace Log {
error(message?: any, extra?: Record<string, any>) {
write.err(build(message, extra))
},
warn(message?: any, extra?: Record<string, any>) {
write.err(build(message, extra))
},
tag(key: string, value: string) {
if (tags) tags[key] = value
return result

View File

@@ -1,5 +1,10 @@
export const foo: string = "42"
export const bar: number = 123
export function dummyFunction(): void {
console.log("This is a dummy function")
}
export function randomHelper(): boolean {
return Math.random() > 0.5
}