MCPcopy Create free account
hub / github.com/Delgan/loguru / patch_3

Function patch_3

tests/test_patch.py:79–80  ·  view source on GitHub ↗
(record)

Source from the content-addressed store, hash-verified

77 record["extra"]["a"] += 1
78
79 def patch_3(record):
80 record["extra"]["a"] *= 2
81
82 logger.add(writer, format="{extra[a]} {message}")
83 logger.patch(patch_1).patch(patch_2).patch(patch_3).info("Test")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected