Test initialization with custom name.
(self)
| 121 | assert logger is not None |
| 122 | |
| 123 | def test_init_with_name(self): |
| 124 | """Test initialization with custom name.""" |
| 125 | logger = Logger(name="custom_logger") |
| 126 | assert logger is not None |
| 127 | |
| 128 | def test_init_with_level(self): |
| 129 | """Test initialization with custom level.""" |