Warning Older Docs! - You are viewing documentation for a previous released version of RhoMobile Suite.

RhoController Class

Print messages in the log file rholog.txt. Call these methods from your controller file (such as modelname_controller.rb).

app_info

Print an information message in the rholog.txt file. The message will have an “APP” prefix.

app_info(message)
message String. The informational message to show in rholog.txt.

Sample app_info call:

app_info "My info message"

app_error

Print an error message in the rholog.txt file. The message will have an “ERROR: APP” prefix.

app_error(message)
message String. The error message to show in rholog.txt.

Sample app_error call:

app_error "My error message"
Back to Top