Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dabeaz/python-cookbook
/ func
Function
func
src/13/adding_logging_to_libraries/somelib.py:8–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
7
# Example function (for testing)
8
def
func():
9
log.critical(
"A Critical Error!"
)
10
log.debug(
"A debug message"
)
Callers
15
wrapper
Function · 0.50
test
Function · 0.50
lazy
Function · 0.50
example.py
File · 0.50
wrapper
Function · 0.50
load_module
Method · 0.50
decorate
Function · 0.50
run
Method · 0.50
wrapper
Function · 0.50
wrapper
Function · 0.50
wrapper
Function · 0.50
wrapper
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected