##// END OF EJS Templates
Backport PR #4115: Update docs on declaring a magic function...
Backport PR #4115: Update docs on declaring a magic function The extension docs were telling people to use `define_magic()`, but the docstring says it is deprecated, and it only supports line magics. The replacement seems to be `register_magic_function()`. This directs people to that, and ensures that it is documented.

File last commit:

r9372:37f32253
r12314:b5f44d4e
Show More
logtopics.rst
13 lines | 454 B | text/x-rst | RstLexer

Log Topic Specification

we use pyzmq to broadcast log events over a PUB socket. Engines, Controllers, etc. can all broadcast. SUB sockets can be used to view the logs, and ZMQ topics are used to help select out what to follow.

the PUBHandler object that emits the logs can ascribe topics to log messages. The order is:

<root_topic>.<loglevel>.<subtopic>[.<etc>]

root_topic is specified as an attribute