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() );