Script
Public Slots | List of all members
MessageLog Class Reference

Allows the user to print messages to the message log window. More...

#include <messageinterface.h>

Inheritance diagram for MessageLog:
Inheritance graph
[legend]
Collaboration diagram for MessageLog:
Collaboration graph
[legend]

Public Slots

void trace (String message)
 writes the message to the message log
 
void debug (String messageIfDebug)
 writes the message to the message log if debug mode is on
 
void setDebug (bool b)
 sets debug mode to on/off
 
bool isDebug ()
 returns whether debug mode is set
 

Detailed Description

Allows the user to print messages to the message log window.

You can use it in Script Editor only.

MessageLog.trace("Export template failed. Nothing selected.");

Member Function Documentation

void MessageLog::debug ( String  messageIfDebug)
slot

writes the message to the message log if debug mode is on

bool MessageLog::isDebug ( )
slot

returns whether debug mode is set

void MessageLog::setDebug ( bool  b)
slot

sets debug mode to on/off

void MessageLog::trace ( String  message)
slot

writes the message to the message log


The documentation for this class was generated from the following file: