atomiq.components.basics.log module

atomiq.components.basics.log.msg_str(msg, vars)[source]
class atomiq.components.basics.log.KernelLogger(*args, **kwargs)[source]

Bases: Component

This components a python logger from within artiq

debug(msg, vars=[])[source]

Logs a message with level DEBUG.

Parameters:

msg (obj) -- what to log

info(msg, vars=[])[source]

Logs a message with level INFO.

Parameters:

msg (obj) -- what to log

warning(msg, vars=[])[source]

Logs a message with level WARNING.

Parameters:

msg (obj) -- what to log

error(msg, vars=[])[source]

Logs a message with level ERROR.

Parameters:

msg (obj) -- what to log

critical(msg, vars=[])[source]

Logs a message with level CRITICAL.

Parameters:

msg (obj) -- what to log