com.kuka.task
Interface ITaskLogger


public interface ITaskLogger

RoboticsAPI logging interface to be used by tasks. Provides logging for diagnostics and visualization.


Method Summary
 void error(String msg)
          Logs the given message with ERROR level.
 void error(String msg, Throwable thrown)
          Logs the given message with ERROR level, with associated Throwable information.
 void fine(String msg)
          Logs the given message with FINE level.
 void info(String msg)
          Logs the given message with INFO level.
 void warn(String msg)
          Logs the given message with WARNING level.
 void warn(String msg, Throwable thrown)
          Logs the given message with WARNING level, with associated Throwable information.
 

Method Detail

error

void error(String msg)
Logs the given message with ERROR level.

Task logs may be retrieved from diagnostic data. Tasks of type IRoboticsAPITask do also log ERROR messages to the HMI debugging console.

Parameters:
msg - The string message

error

void error(String msg,
           Throwable thrown)
Logs the given message with ERROR level, with associated Throwable information.

Task logs may be retrieved from diagnostic data. Tasks of type IRoboticsAPIApplication do also log ERROR messages to the HMI debugging console.

Parameters:
msg - The string message
thrown - Throwable associated with log message.

warn

void warn(String msg)
Logs the given message with WARNING level.

Task logs may be retrieved from diagnostic data. Tasks of type IRoboticsAPIApplication do also log WARNING messages to the HMI debugging console.

Parameters:
msg - The string message

warn

void warn(String msg,
          Throwable thrown)
Logs the given message with WARNING level, with associated Throwable information.

Task logs may be retrieved from diagnostic data. Tasks of type IRoboticsAPIApplication do also log WARNING messages to the HMI debugging console.

Parameters:
msg - The string message
thrown - Throwable associated with log message.

info

void info(String msg)
Logs the given message with INFO level.

Task logs may be retrieved from diagnostic data. Tasks of type IRoboticsAPIApplication do also log INFO messages to the HMI debugging console.

Parameters:
msg - The string message

fine

void fine(String msg)
Logs the given message with FINE level.

Task logs may be retrieved from diagnostic data.

Parameters:
msg - The string message


Copyright © 2019. All rights reserved.