Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 725 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 725 Bytes

TrailerVote Express Logger

Build Status

NPM Package Version

Packages that provide a logger for express based services in the TrailerVote ecosystem.

yarn add @trailervote/express-logger
import { createLogger, LogLevels } from '@trailervote/express-logger'

const logger = createLogger(LogLevels.info)

logger.error('Something went horribly wrong')
logger.lazy.debug(() => 'This will never be executed')