docs: enterprise refactor plan with ralph specs
This commit is contained in:
10
src/server/logger.ts
Normal file
10
src/server/logger.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Structured logger using pino.
|
||||
* Log level configurable via ABE_LOG_LEVEL env var (default: 'info').
|
||||
*/
|
||||
|
||||
import pino from 'pino';
|
||||
|
||||
const level = process.env['ABE_LOG_LEVEL'] ?? 'info';
|
||||
|
||||
export const log = pino({ level });
|
||||
Reference in New Issue
Block a user