import { ApplicationContract } from '@ioc:Adonis/Core/Application' import Logger from "@ioc:Adonis/Core/Logger"; export default class AppProvider { public static needsApplication = true constructor (protected app: ApplicationContract) { } public register () { // Register your own bindings } public async boot () { // IoC container is ready Logger.info('Application is booting. Please wait...') } public async ready () { // App is ready Logger.info('Application is ready!') } public async shutdown () { // Cleanup, since app is going down Logger.info('Application is closing. Bye...') } }