@@ -19,7 +19,7 @@ function captureLog(
19
19
}
20
20
21
21
/**
22
- * @summary Capture a log with the `trace` level. Requires `_experiments. enableLogs` to be enabled.
22
+ * @summary Capture a log with the `trace` level. Requires the ` enableLogs` option to be enabled.
23
23
*
24
24
* @param message - The message to log.
25
25
* @param attributes - Arbitrary structured data that stores information about the log - e.g., { userId: 100, route: '/dashboard' }.
@@ -48,7 +48,7 @@ export function trace(message: ParameterizedString, attributes?: Log['attributes
48
48
}
49
49
50
50
/**
51
- * @summary Capture a log with the `debug` level. Requires `_experiments. enableLogs` to be enabled.
51
+ * @summary Capture a log with the `debug` level. Requires the ` enableLogs` option to be enabled.
52
52
*
53
53
* @param message - The message to log.
54
54
* @param attributes - Arbitrary structured data that stores information about the log - e.g., { component: 'Header', state: 'loading' }.
@@ -78,7 +78,7 @@ export function debug(message: ParameterizedString, attributes?: Log['attributes
78
78
}
79
79
80
80
/**
81
- * @summary Capture a log with the `info` level. Requires `_experiments. enableLogs` to be enabled.
81
+ * @summary Capture a log with the `info` level. Requires the ` enableLogs` option to be enabled.
82
82
*
83
83
* @param message - The message to log.
84
84
* @param attributes - Arbitrary structured data that stores information about the log - e.g., { feature: 'checkout', status: 'completed' }.
@@ -108,7 +108,7 @@ export function info(message: ParameterizedString, attributes?: Log['attributes'
108
108
}
109
109
110
110
/**
111
- * @summary Capture a log with the `warn` level. Requires `_experiments. enableLogs` to be enabled.
111
+ * @summary Capture a log with the `warn` level. Requires the ` enableLogs` option to be enabled.
112
112
*
113
113
* @param message - The message to log.
114
114
* @param attributes - Arbitrary structured data that stores information about the log - e.g., { browser: 'Chrome', version: '91.0' }.
@@ -139,7 +139,7 @@ export function warn(message: ParameterizedString, attributes?: Log['attributes'
139
139
}
140
140
141
141
/**
142
- * @summary Capture a log with the `error` level. Requires `_experiments. enableLogs` to be enabled.
142
+ * @summary Capture a log with the `error` level. Requires the ` enableLogs` option to be enabled.
143
143
*
144
144
* @param message - The message to log.
145
145
* @param attributes - Arbitrary structured data that stores information about the log - e.g., { error: 'NetworkError', url: '/api/data' }.
@@ -171,7 +171,7 @@ export function error(message: ParameterizedString, attributes?: Log['attributes
171
171
}
172
172
173
173
/**
174
- * @summary Capture a log with the `fatal` level. Requires `_experiments. enableLogs` to be enabled.
174
+ * @summary Capture a log with the `fatal` level. Requires the ` enableLogs` option to be enabled.
175
175
*
176
176
* @param message - The message to log.
177
177
* @param attributes - Arbitrary structured data that stores information about the log - e.g., { appState: 'corrupted', sessionId: 'abc-123' }.
0 commit comments