You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the version you are using is not listed, please [raise an issue in our GitHub repository](https://github.com/ngworker/lumberjack-applicationinsights-driver/issues/new).
59
58
@@ -75,7 +74,8 @@ import { LumberjackApplicationinsightsDriver } from '@ngworker/lumberjack-applic
@@ -89,6 +89,14 @@ Now you can start using the `LumberjackService` or extend `LumberjackLogger` and
89
89
## Configuration
90
90
91
91
TODO: Here it is explained how this custom driver can be configured.
92
+
To use the Application Insights you must provide or `instrumentationKey`, or `connectionString` in the configuration object provided in `forRoot`. Additionally you can specify `loggingLevelConsole`.
93
+
94
+
| Setting | Description
95
+
|----------------------|----------------
96
+
| `instrumentationKey` | Instrumentation key of resource. Either this or connectionString must be specified.
97
+
| `connectionString` | Connection string of resource. Either this or instrumentationKey must be specified.
98
+
| `loggingLevelConsole` | Console logging level. All logs with a severity level higher than the configured level will be printed to console. Otherwise they are suppressed. Level 3 will print DEBUG, WARNING and CRITICAL logs to console, level 2 will print both CRITICAL and WARNING logs to console, level 1 prints only CRITICAL.
Copy file name to clipboardExpand all lines: libs/ngworker/lumberjack-applicationinsights-driver/src/lib/configuration/lumberjack-applicationinsights-driver-internal.config.ts
0 commit comments