1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// SPDX-License-Identifier: Apache-2.0
// Copyright 2026 Dante Doménech Martinez dante19031999@gmail.com
use crate::;
use Any;
/// A no-op (no-operation) implementation of [`LoggerImpl`].
///
/// [`SilentLogger`][`Silent`] satisfies the logger interface while effectively discarding all
/// log messages. This is useful for:
/// - **Testing**: Disabling log output during unit tests.
/// - **Defaults**: Providing a safe, "do-nothing" fallback logger.
/// - **Performance**: Avoiding conditional "if logger.is_some()" checks in hot paths.
;