Share this page

# Example: lr.log

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

## Example 1 - Sending a Simple Message

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

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

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

## Example3 - Sending the Output of a Function Call

    lr.log("Chat Population = " + cstr(orChatForum.count()) )
    lr.log "Last Chat Name = " +orChatForum.LastSubmitName()

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: