Share this page

# Example: lr.log_message

In the following examples, lr.log_message function sends messages to the log files.

## Example 1 - Sending a Simple Message

    lr.log_message("Accessing Talk Forum ORB...");

## Example 2 - Sending Strings, Longs, and Other Data Types

    String str = "Test";
    long lg = 100;
    lr.log_message("The value of str = " + str + ".");
    lr.log_message("The value of lg is " + lg + "." );

## Example3 - Sending the Output of a Function Call

    lr.log_message("Chat Population = " + orChatForum.count() );

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: