lenskit.logging.multiprocess#

Multiprocess logging support for Ray integration. Most code doesn’t need to touch this.

Stability:

Internal

Classes#

Monitor

LensKit monitor controller.

RecordSink

Generic interface for record sinks.

WorkerContext

Activate (and deactivate) a worker context. This handles setup and teardown

WorkerLogConfig

Configuration for worker logging.

Functions#

get_monitor()

Get the monitor, starting it if it is not yet running.

send_task(task)

Package Contents#

lenskit.logging.multiprocess.get_monitor()#

Get the monitor, starting it if it is not yet running.

Return type:

Monitor

lenskit.logging.multiprocess.send_task(task)#
Parameters:

task (lenskit.logging.tasks.Task)