Your IP : 216.73.216.48


Current Path : /usr/X11R6/share/apps/rocs/engineapi/
Upload File :
Current File : //usr/X11R6/share/apps/rocs/engineapi/Console.xml

<?xml version="1.0"?>
<object>
    <name>Console</name>
    <id>Console</id>
    <componentType>EngineComponent</componentType>
    <description>
        <para>The Console object allows you to print messages of different importance to a log.</para>
        <para>Console is not a constructor. All properties and methods of Console can be called by using Console as an object, without creating it.</para>
    </description>
    <syntax>Console.log("This is a program message."); // print a program message
Console.debug("A debug message."); // print a debug message</syntax>
    <properties>
    </properties>
    <methods>
        <method>
            <name>log()</name>
            <description>
                <para>Print the given message of normal severity.</para>
            </description>
            <returnType>void</returnType>
            <parameters>
                <parameter>
                    <name>message</name>
                    <type>string</type>
                    <info></info>
                </parameter>
            </parameters>
        </method>
        <method>
            <name>debug()</name>
            <description>
                <para>Print the given debug message.</para>
            </description>
            <returnType>void</returnType>
            <parameters>
                <parameter>
                    <name>message</name>
                    <type>string</type>
                    <info></info>
                </parameter>
            </parameters>
        </method>
        <method>
            <name>error()</name>
            <description>
                <para>Print the given error message of high severity.</para>
            </description>
            <returnType>void</returnType>
            <parameters>
                <parameter>
                    <name>message</name>
                    <type>string</type>
                    <info></info>
                </parameter>
            </parameters>
        </method>
    </methods>
</object>