Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Delgan/loguru
/ a
Function
a
tests/test_opt.py:191–194 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
189
logger.add(writer, format=
"{function} : {message}"
)
190
191
def
a():
192
logger.opt(depth=1).debug(
"Test 1"
)
193
logger.opt(depth=0).debug(
"Test 2"
)
194
logger.opt(depth=1).log(10,
"Test 3"
)
195
196
a()
197
Callers
1
test_depth
Function · 0.70
Calls
3
debug
Method · 0.80
opt
Method · 0.80
log
Method · 0.80
Tested by
no test coverage detected