Skip to content

Loggical API Documentation v1.0.1


Loggical API Documentation / readableLogger

Variable: readableLogger

ts
const readableLogger: Logger;

Defined in: presets/instances.ts:59

Enhanced readable logger for development and debugging

Optimized for maximum readability with enhanced colors, relative timestamps, prefix abbreviation, and improved formatting. Perfect for development environments where visual clarity is more important than space efficiency.

Example

typescript
import { readableLogger } from 'loggical'

const apiLogger = readableLogger.withPrefix('API-SERVER')
apiLogger.info('Request processed')
// Output: 14:32:18.456 ℹ️ [API-SVR] +2s Request processed

Released under the MIT License.