diff options
| author | Fuwn <[email protected]> | 2025-10-25 20:15:06 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-10-25 20:15:06 -0700 |
| commit | ef1c03edbfc2a5090e72d6058546dab4311ba694 (patch) | |
| tree | a14e82b67934b0b6f672049f941341321ed8ca13 | |
| parent | feat(gateway:commands): Add character claim usage command (diff) | |
| download | umabotdiscord-ef1c03edbfc2a5090e72d6058546dab4311ba694.tar.xz umabotdiscord-ef1c03edbfc2a5090e72d6058546dab4311ba694.zip | |
fix(shared:log): Use correct stack offset
| -rw-r--r-- | packages/shared/log.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/shared/log.ts b/packages/shared/log.ts index b7d1727..12baabc 100644 --- a/packages/shared/log.ts +++ b/packages/shared/log.ts @@ -46,7 +46,7 @@ export const log = ( [LogLevel.Trace]: "\x1b[35m", }; const levelColor = levelColors[level]; - const unit = customUnit ?? extractUnitFromStack(2); + const unit = customUnit ?? extractUnitFromStack(3); console.log( `\x1b[37m${timestamp}\x1b[0m ${levelColor}${level}\x1b[0m \x1b[1m${unit}\x1b[22m \x1b[37m> ${message}\x1b[0m`, |