KernelLoggerΒΆ

Class Arguments

Argument

Type

Default Value

debug_output

TBool

False

Bold arguments are mandatory. For more documentation on the listed arguments refer to the class definition below. If parameters appear in this list but not in the class definition below, please recursively check the linked base classes for the definition of the parameter.

Inheritance Diagram

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

Example Component Dictionary

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

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