ionic-logging-viewer 18.0.0 → 22.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/README.md +16 -14
  2. package/fesm2022/ionic-logging-viewer.mjs +167 -259
  3. package/fesm2022/ionic-logging-viewer.mjs.map +1 -1
  4. package/package.json +14 -12
  5. package/types/ionic-logging-viewer.d.ts +244 -0
  6. package/esm2022/ionic-logging-viewer.mjs +0 -5
  7. package/esm2022/lib/logging-viewer/logging-viewer.component.mjs +0 -119
  8. package/esm2022/lib/logging-viewer-filter.service.mjs +0 -64
  9. package/esm2022/lib/logging-viewer-levels/logging-viewer-levels.component.mjs +0 -71
  10. package/esm2022/lib/logging-viewer-modal/logging-viewer-modal-properties.model.mjs +0 -2
  11. package/esm2022/lib/logging-viewer-modal/logging-viewer-modal.component.mjs +0 -141
  12. package/esm2022/lib/logging-viewer-search/logging-viewer-search.component.mjs +0 -73
  13. package/esm2022/lib/logging-viewer-translation.model.mjs +0 -2
  14. package/esm2022/lib/logging-viewer.module.mjs +0 -53
  15. package/esm2022/public_api.mjs +0 -11
  16. package/index.d.ts +0 -5
  17. package/lib/logging-viewer/logging-viewer.component.d.ts +0 -73
  18. package/lib/logging-viewer-filter.service.d.ts +0 -47
  19. package/lib/logging-viewer-levels/logging-viewer-levels.component.d.ts +0 -44
  20. package/lib/logging-viewer-modal/logging-viewer-modal-properties.model.d.ts +0 -25
  21. package/lib/logging-viewer-modal/logging-viewer-modal.component.d.ts +0 -75
  22. package/lib/logging-viewer-search/logging-viewer-search.component.d.ts +0 -44
  23. package/lib/logging-viewer-translation.model.d.ts +0 -27
  24. package/lib/logging-viewer.module.d.ts +0 -13
  25. package/public_api.d.ts +0 -7
package/README.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # ionic-logging-viewer
2
2
 
3
- **The dependencies used by the latest version are the same as needed for [Ionic 7.0.0](https://github.com/ionic-team/ionic/blob/master/CHANGELOG.md). For older versions use:**
3
+ **The dependencies used by the latest version are the same as needed for [Ionic 8.0.0](https://github.com/ionic-team/ionic/blob/master/CHANGELOG.md). For older versions use:**
4
4
 
5
5
  | ionic-logging-viewer | Ionic | Angular
6
6
  | ------ | -------- | ------
7
+ | 22.0.0 | >= 8.0.0 | >=22.0.0
8
+ | 21.0.0 | >= 8.0.0 | >=21.0.0
7
9
  | 18.0.0 | >= 7.0.0 | >=17.0.0
8
10
  | 17.0.0 | >= 6.1.9 | ^16.0.0
9
11
  | 16.0.0 | >= 6.1.9 | ^15.0.0
@@ -51,18 +53,18 @@ npm install ionic-logging-viewer --save
51
53
 
52
54
  ### import module
53
55
 
54
- Import the `LoggingViewerModule` in to your `app.module.ts`:
55
-
56
- ```typescript
57
- import { LoggingViewerModule } from "ionic-logging-viewer";
58
- ...
59
- @NgModule({
60
- imports: [
61
- IonicModule.forRoot(AppComponent),
62
- LoggingViewerModule
63
- ],
64
- ...
65
- })
56
+ Call `configure()` in your `app.config.ts`:
57
+
58
+ ```TypeScript
59
+ export const appConfig: ApplicationConfig = {
60
+ providers: [
61
+ ...
62
+ provideAppInitializer(() => {
63
+ const loggingService = inject(LoggingService);
64
+ loggingService.configure(environment.logging);
65
+ }),
66
+ ]
67
+ };
66
68
  ```
67
69
 
68
70
  ### LoggingViewerComponent directive
@@ -117,4 +119,4 @@ Just fill the `LoggingViewerTranslation` object.
117
119
 
118
120
  ## API
119
121
 
120
- see [API documentation](https://ritzlgrmft.github.io/ionic-logging-service//viewer/index.html).
122
+ see [API documentation](https://ritzlgrmft.github.io/ionic-logging-service/viewer/index.html).