amos-ionic-logging
Version:
Components for Ionic logging
35 lines (31 loc) • 937 B
text/typescript
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false,
logging: {
logLevels: [
{
loggerName: "root",
logLevel: "DEBUG"
},
{
loggerName: "Ionic.Logging",
logLevel: "OFF"
}
],
localStorageAppender: {
localStorageKey: "ionic.logging.sample",
threshold: "INFO",
maxMessages: 250
}
}
};
/*
* For easier debugging in development mode, you can import the following file
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
*
* This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/
// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.