@@ -175,7 +175,7 @@ impl Builder {
175
175
/// for your application. If you need to add additional layers to a subscriber,
176
176
/// see [`spawn`].
177
177
///
178
- /// ## Panics
178
+ /// # Panics
179
179
///
180
180
/// * If the subscriber's background thread could not be spawned.
181
181
/// * If the [default `tracing` subscriber][default] has already been set.
@@ -185,7 +185,7 @@ impl Builder {
185
185
/// [`tracing_subscriber::fmt`]: https://docs.rs/tracing-subscriber/latest/tracing-subscriber/fmt/index.html
186
186
/// [`Server`]: crate::Server
187
187
///
188
- /// ## Configuration
188
+ /// # Configuration
189
189
///
190
190
/// Tokio console subscriber is configured with sensible defaults for most
191
191
/// use cases. If you need to tune these parameters, several environmental
@@ -199,7 +199,7 @@ impl Builder {
199
199
/// | `TOKIO_CONSOLE_RECORD_PATH` | The file path to save a recording | None |
200
200
/// | `RUST_LOG` | Configures what events are logged events. See [`Targets`] for details. | "error" |
201
201
///
202
- /// ## Further customization
202
+ /// # Further customization
203
203
///
204
204
/// To add additional layers or replace the format layer, replace
205
205
/// `console_subscriber::Builder::init` with:
@@ -251,16 +251,16 @@ impl Builder {
251
251
/// [`Layer`]: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/layer/trait.Layer.html
252
252
/// [`Server`]: crate::Server
253
253
///
254
- /// ## Panics
254
+ /// # Panics
255
255
///
256
256
/// * If the subscriber's background thread could not be spawned.
257
257
///
258
- /// ## Configuration
258
+ /// # Configuration
259
259
///
260
260
/// `console_subscriber::build` supports all of the environmental
261
261
/// configuration described at [`console_subscriber::init`].
262
262
///
263
- /// ## Differences from `init`
263
+ /// # Differences from `init`
264
264
///
265
265
/// Unlike [`console_subscriber::init`], this function does *not* add a
266
266
/// [`tracing_subscriber::fmt`] layer to the configured `Subscriber`. This means
@@ -271,7 +271,7 @@ impl Builder {
271
271
/// You must call [`.init()`] on the final subscriber in order to [set the
272
272
/// subscriber as the default][default].
273
273
///
274
- /// ## Examples
274
+ /// # Examples
275
275
///
276
276
/// ```rust
277
277
/// use tracing_subscriber::prelude::*;
@@ -352,7 +352,7 @@ impl Builder {
352
352
/// for your application. If you need to add additional layers to a subscriber,
353
353
/// see [`spawn`].
354
354
///
355
- /// ## Panics
355
+ /// # Panics
356
356
///
357
357
/// * If the subscriber's background thread could not be spawned.
358
358
/// * If the [default `tracing` subscriber][default] has already been set.
@@ -362,7 +362,7 @@ impl Builder {
362
362
/// [`tracing_subscriber::fmt`]: https://docs.rs/tracing-subscriber/latest/tracing-subscriber/fmt/index.html
363
363
/// [`Server`]: crate::Server
364
364
///
365
- /// ## Configuration
365
+ /// # Configuration
366
366
///
367
367
/// Tokio console subscriber is configured with sensible defaults for most
368
368
/// use cases. If you need to tune these parameters, several environmental
@@ -376,7 +376,7 @@ impl Builder {
376
376
/// | `TOKIO_CONSOLE_RECORD_PATH` | The file path to save a recording | None |
377
377
/// | `RUST_LOG` | Configures what events are logged events. See [`Targets`] for details. | "error" |
378
378
///
379
- /// ## Further customization
379
+ /// # Further customization
380
380
///
381
381
/// To add additional layers or replace the format layer, replace
382
382
/// `console_subscriber::init` with:
@@ -425,16 +425,16 @@ pub fn init() {
425
425
/// [`Layer`]: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/layer/trait.Layer.html
426
426
/// [`Server`]: crate::Server
427
427
///
428
- /// ## Panics
428
+ /// # Panics
429
429
///
430
430
/// * If the subscriber's background thread could not be spawned.
431
431
///
432
- /// ## Configuration
432
+ /// # Configuration
433
433
///
434
434
/// `console_subscriber::build` supports all of the environmental
435
435
/// configuration described at [`console_subscriber::init`].
436
436
///
437
- /// ## Differences from `init`
437
+ /// # Differences from `init`
438
438
///
439
439
/// Unlike [`console_subscriber::init`], this function does *not* add a
440
440
/// [`tracing_subscriber::fmt`] layer to the configured `Layer`. This means
@@ -445,7 +445,7 @@ pub fn init() {
445
445
/// You must call [`.init()`] on the final subscriber in order to [set the
446
446
/// subscriber as the default][default].
447
447
///
448
- /// ## Examples
448
+ /// # Examples
449
449
///
450
450
/// ```rust
451
451
/// use tracing_subscriber::prelude::*;
0 commit comments