Sha256: 76b7a1f0a267efd4b21b26664d66031ccd133cb8c3d19886625ca962eb1c075a

Contents?: true

Size: 554 Bytes

Versions: 22

Compression:

Stored size: 554 Bytes

Contents

# Logging

## Log Levels

There are four log levels with `error` being the most severe.

1. Debug
2. Info
3. Warn
4. Error

## Configuration

The logging is controlled by the `log_level` configuration setting.
The default log level is `:info`.
You can disable all logs by setting this to `:off`.

## Upgrading

For a newly-generated app, the `shopify_app` initializer will contain the `log_level` setting.
If you are upgrading from a previous version of the `shopify_app` gem then you will need to add this manually, otherwise it will default to `:info`.

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
shopify_app-22.5.2 docs/shopify_app/logging.md
shopify_app-22.5.1 docs/shopify_app/logging.md
shopify_app-22.5.0 docs/shopify_app/logging.md
shopify_app-22.4.0 docs/shopify_app/logging.md
shopify_app-22.3.1 docs/shopify_app/logging.md
shopify_app-22.3.0 docs/shopify_app/logging.md
shopify_app-22.2.1 docs/shopify_app/logging.md
shopify_app-22.2.0 docs/shopify_app/logging.md
shopify_app-22.1.0 docs/shopify_app/logging.md
shopify_app-22.0.1 docs/shopify_app/logging.md
shopify_app-22.00.0 docs/shopify_app/logging.md
shopify_app-21.10.0 docs/shopify_app/logging.md
shopify_app-21.9.0 docs/shopify_app/logging.md
shopify_app-21.8.1 docs/shopify_app/logging.md
shopify_app-21.8.0 docs/shopify_app/logging.md
shopify_app-21.7.0 docs/shopify_app/logging.md
shopify_app-21.6.0 docs/shopify_app/logging.md
shopify_app-21.5.0 docs/shopify_app/logging.md
shopify_app-21.4.1 docs/shopify_app/logging.md
shopify_app-21.4.0 docs/shopify_app/logging.md