Logging Errors

Rogo has automatic error handling which has already been discussed. But there are times when it is useful for the application to record its own 'known' issues. To do this the log_error() function can be called. There are two types:

  • Application Error - use for serious errors, such as required configuration variable not existing.
  • Application Warning - use for warning such as no user can be found.