Edit in GitHubLog an issue

Lesson 3: Managing Application Logs

Logging is a great add-on for debugging apps during development as well as at runtime. App Builder SDK and CLI provide commodities for developers to log and retrieve information and data from their apps.

In our sample app, logger is used throughout the hello action. It is provided by the App Builder's core Logging library.

Copied to your clipboard
const logger = Core.Logger('main', { level: params.LOG_LEVEL || 'info' })

You can control the log level by setting LOG_LEVEL input in the manifest.yml file.

Copied to your clipboard
inputs:
LOG_LEVEL: debug

Please refer to the App Builder's core Logging library to learn more about using logger in your app. If you need more information on this topic on a high level, visit Managing logs in App Builder Apps.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.