Logging
Aurelia provides a powerful logging API that allows you to display debug and error messages in your applications in a controlled manner.
Getting started
import { ILogger, resolve } from 'aurelia';
export class MyComponent {
private readonly logger: ILogger = resolve(ILogger).scopeTo('MyComponent');
}Logging methods
Creating a logger
Last updated
Was this helpful?