ErrorIt

Inheritance diagram of ErrorIt
class ErrorIt(showargs=False, showret=False)[source]

Specialization of LogIt for error level messages. Example:

from taurus.core.util.log import Logger, ErrorIt
class Example(Logger):

    @ErrorIt()
    def go(self):
        print("Hello world")

See also

LogIt

Import from taurus.core.util.log as:

from taurus.core.util.log import ErrorIt