Universal Robots TypeScript API - v10.12.0
    Preparing search index...

    Class LogMessageService

    Service for sending log messages

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    communicationChannel: CommunicationChannel

    Methods

    • Sends a debug log message.

      Parameters

      • message: string

        The message to be logged

      • Optionaltype: string

        The type of message - if not specified 'generic' will be used

      Returns Promise<void>

    • Sends a error log message.

      Parameters

      • message: string

        The message to be logged

      • Optionaltype: string

        The type of message - if not specified 'generic' will be used

      Returns Promise<void>

    • Sends a info log message.

      Parameters

      • message: string

        The message to be logged

      • Optionaltype: string

        The type of message - if not specified 'generic' will be used

      Returns Promise<void>

    • returns a reply promise to the specified message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Promise<T>

    • returns an observable that will emit any messages replied to the specified message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Observable<T>

    • returns a reply promise for the requested message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Promise<T>

    • returns an observable that will emit any messages replied to the requested message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Observable<T>

    • Sends a log message.

      Parameters

      Returns Promise<void>

    • Sends a warning log message.

      Parameters

      • message: string

        The message to be logged

      • Optionaltype: string

        The type of message - if not specified 'generic' will be used

      Returns Promise<void>