Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bun Support #2

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
feature - support DEBUG_APP_NAME
  • Loading branch information
gtmetric committed Feb 19, 2025
commit 37a5fc33b7adf5ef431a788ccff61562465fba05
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type TDebuggers = 'log' | 'logWarn' | 'logDebug' | 'logVerbose' | 'logError' | '
type THooksObject = { [Key in TDebuggers]: THookMap }

export const LogBase = {
appName: 'debug',
appName: process.env.DEBUG_APP_NAME ?? 'debug',
baseDir: '',
truncateDir: ['src/', 'dist/'],
namespace(fileName: string) {
Expand Down