Before, all messages would be logged on the prelude container / thread. routing log improvements
12 lines
212 B
Python
12 lines
212 B
Python
@exported
|
|
def echo(msg: bytes) -> bytes:
|
|
return msg
|
|
|
|
@imported('prelude')
|
|
def log_bytes(data: bytes) -> None:
|
|
pass
|
|
|
|
@exported
|
|
def on_module_loaded() -> None:
|
|
log_bytes(b'Echo service up and running')
|