1
0
Fork 0
tractor/tractor
Tyler Goodlet 00024181cd `StackLevelAdapter._log(stacklevel: int)` for custom levels..
Apparently (and i don't know if this was always broken [i feel like no?]
or is a recent change to stdlib's `logging` stuff) we need increment the
`stacklevel` input by one for our custom level methods now? Without this
you're going to see the path to the method's-callstack-frame on every
emission instead of to the caller's. I first noticed this when debugging
the workspace layer spawning in `modden.bigd` and then verified it in
other depended projects..

I guess we should add some tests for this as well XD
2024-01-02 10:38:04 -05:00
..
devx Ignore `greenback` import error if not installed 2023-10-19 12:41:15 -04:00
experimental Move move context code into new `._context` mod 2023-05-15 10:00:45 -04:00
trionics Mk `gather_contexts()` support `@acm`s yielding `None` 2023-09-27 14:05:22 -04:00
__init__.py Use `import <name> as <name>,` style over `__all__` in pkg mod 2024-01-02 10:25:17 -05:00
_child.py ._child: remove some unused imports.. 2024-01-02 10:24:39 -05:00
_clustering.py Passthrough runtime kwargs from `open_actor_cluster()` 2022-12-11 19:56:08 -05:00
_context.py Be mega-pedantic with `ContextCancelled` semantics 2023-10-23 16:24:54 -04:00
_discovery.py `.discovery.get_arbiter()`: add warning around this now deprecated usage 2023-12-11 19:37:45 -05:00
_entry.py Init-support for "multi homed" transports 2023-09-27 16:25:21 -04:00
_exceptions.py Move `MessagingError` into `._exceptions` set 2023-10-23 14:17:36 -04:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_ipc.py Tweak `Channel._cancel_called` comment 2023-10-23 17:47:55 -04:00
_mp_fixup_main.py Avoid importing mp for as long as possible 2022-02-17 11:55:26 -05:00
_multiaddr.py Fix doc string "its" typo.. 2023-11-06 15:44:21 -05:00
_portal.py Be ultra-correct in `Portal.open_context()` 2023-10-23 17:34:28 -04:00
_root.py Add `open_root_actor(ensure_registry: bool)` 2023-11-07 16:45:24 -05:00
_runtime.py Guarding for IPC failures in `._runtime._invoke()` 2024-01-02 10:23:45 -05:00
_shm.py Updates from latest `piker.data._sharedmem` changes 2023-06-22 17:16:17 -04:00
_spawn.py More thurough hard kill doc strings 2023-12-11 18:17:42 -05:00
_state.py Move `NoRuntime` import inside `current_actor()` to avoid cycle 2023-05-15 10:00:45 -04:00
_streaming.py Raise a `MessagingError` from the src error on msging edge cases 2023-10-23 14:34:12 -04:00
_supervise.py Change remaining internals to use `Actor.reg_addrs` 2023-10-19 12:40:37 -04:00
log.py `StackLevelAdapter._log(stacklevel: int)` for custom levels.. 2024-01-02 10:38:04 -05:00
msg.py Make `NamespacePath` work on object refs 2023-07-12 13:07:30 -04:00
to_asyncio.py Move `.to_asyncio` to modern optional value type annots 2023-07-21 15:08:46 -04:00