Const
Tracing channel for service provider boot lifecycle hook. This channel traces when a provider's boot() method is called during the application boot phase, after all providers have been registered.
// Monitor boot performanceproviderBoot.subscribe({ asyncStart(provider) { console.time(`boot-${provider.constructor.name}`) }, asyncEnd(provider) { console.timeEnd(`boot-${provider.constructor.name}`) }}) Copy
// Monitor boot performanceproviderBoot.subscribe({ asyncStart(provider) { console.time(`boot-${provider.constructor.name}`) }, asyncEnd(provider) { console.timeEnd(`boot-${provider.constructor.name}`) }})
Tracing channel for service provider boot lifecycle hook. This channel traces when a provider's boot() method is called during the application boot phase, after all providers have been registered.