KernelLoggerΒΆ

Class Arguments

The class does not take any arguments

Inheritance Diagram

Inheritance diagram of atomiq.components.basics.log.KernelLogger

Example Component Dictionary

   {
    "log_example": {
        "classname": "atomiq.components.basics.log.KernelLogger",
        "arguments": {}
    }
}

Class Description

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