Skip to main content
Version: 5.7.0

Logging

The logging service is only available in Cloud Code. It allows you to log messages to your app's Exception Logs which can be found on the Global Monitoring - Recent Errors page of the brainCloud portal.

API Summary

Log

Standard info, warning, and error logging APIs:

  • LogInfo - Logs an info message with string-based context.
  • LogInfoJson - Logs an info message with string-based context.
  • LogWarning - Logs an warning with string-based context.
  • LogWarningJson - Logs an warning with json context.
  • LogError - Logs an error with string-based context.
  • LogErrorJson - Logs an error with json context.
info

As of Release 3.11 these methods have been added to the bridge for convenience.

Debugging

brainCloud now supports debug-level log messages, which display only in the activity pane of the Cloud Code Editor and API Explorers. They are not written to the logging database.

The debug-level log APIs are only available from the bridge.