Skip to content

Loggical API Documentation v1.0.1


Loggical API Documentation / logger

Variable: logger

ts
const logger: Logger;

Defined in: presets/instances.ts:24

Default logger instance with standard configuration

A general-purpose logger that provides balanced functionality suitable for most use cases. Uses default settings that work well in both development and production environments.

Example

typescript
import { logger } from 'loggical'

logger.info('Application started')
logger.error('Something went wrong', { error: 'details' })

Released under the MIT License.