Logging API doc and usage

I am trying to find info on the Logging API for UI Builder. This is all I find: Logging API - Backendless Codeless Development Guide

Can someone tell me what the log channel parameter is used for, and how to get logging of messages to work? What I am looking for is a way to have log calls through the app which I can leave in the app itself, and then set a logging level to have the blocks either be ignored (typically log only eg. ERROR and above in Prod, but INFO and above while developing). Is that at all possible?

Hello @Egil_Helland,

In the Manage → Log Management there are settings for Application-wide log level (level = channel) and a table with existing loggers in your app. Each logger may have its own log level.
If you set the level to ERROR and will log an INFO message, that log will not be flushed to the server and thus will not appear in the logs.

Fantastic! This is just like I hoped. So great news for me :grinning:

Would not hurt if this was documented for others to see as well though… :stuck_out_tongue_winking_eye:

Agree with you, our documentation specialist is just working on it (and much more).

1 Like