Releases: adonisjs/logger
Releases · adonisjs/logger
Removing factory functions
This release gets rid of the factory functions to create the logger and instead you can instantiate the class directly.
Earlier
import { getLogger } from '@poppinss/logger'
const logger = getLogger()
Now
import { Logger } from '@poppinss/logger'
const logger = new Logger()
The newer approach is in sync the other repos, where we also export classes directly
Remove AdonisJs typings
We will move the AdonisJs typings to @adonisjs/core. This keeps the container bindings and Typescript typings at one place.
- refactor: remove adonisjs types c9065a2
Export config contracts
- refactor: export config contracts from all modules 5d633d8
Fixes for AdonisJs types
Fixing AdonisJs typings
- refactor: update adonis typings 4ae3af4