home
  • Blog
  • Home
  • Projects
    • Ember
    • EmberData
    • Ember CLI
4.12
  • Packages
    • @ember-data/adapter
    • @ember-data/adapter/error
    • @ember-data/adapter/json-api
    • @ember-data/adapter/rest
    • @ember-data/canary-features
    • @ember-data/debug
    • @ember-data/deprecations
    • @ember-data/experimental-preview-types
    • @ember-data/graph
    • @ember-data/json-api
    • @ember-data/legacy-compat
    • @ember-data/model
    • @ember-data/request
    • @ember-data/request/fetch
    • @ember-data/serializer
    • @ember-data/serializer/json
    • @ember-data/serializer/json-api
    • @ember-data/serializer/rest
    • @ember-data/store
    • @ember-data/tracking
  • Classes
    • <Interface> Adapter
    • <Interface> Cache
    • <Interface> Handler
    • <Interface> Serializer
    • AbortError
    • Adapter
    • AdapterError
    • BelongsToReference
    • BooleanTransform
    • BuildURLMixin
    • Cache
    • CacheManager
    • CacheStoreWrapper
    • CanaryFeatureFlags
    • ConflictError
    • CurrentDeprecations
    • DateTransform
    • DebugLogging
    • EmbeddedRecordsMixin
    • Errors
    • Fetch
    • ForbiddenError
    • Future
    • HasManyReference
    • IdentifierCache
    • InvalidError
    • JSONAPIAdapter
    • JSONAPISerializer
    • JSONSerializer
    • ManyArray
    • Model
    • NotFoundError
    • NotificationManager
    • NumberTransform
    • PromiseArray
    • PromiseManyArray
    • PromiseObject
    • RESTAdapter
    • RESTSerializer
    • RecordArray
    • RecordReference
    • RequestManager
    • RequestStateService
    • SchemaService
    • Serializer
    • ServerError
    • Snapshot
    • SnapshotRecordArray
    • StableRecordIdentifier
    • Store
    • StringTransform
    • TimeoutError
    • Transform
    • UnauthorizedError

Class DebugLogging public


Defined in: ../private-build-infra/virtual-packages/debugging.js:4
Module: @ember-data/debug

Many portions of the internals are helpfully instrumented with logging that can be activated at build time. This instrumentation is always removed from production builds or any builds that has not explicitly activated it. To activate it set the appropriate flag to true.

  let app = new EmberApp(defaults, {
    emberData: {
      debug: {
          LOG_PAYLOADS: false, // data store received to update cache with
          LOG_OPERATIONS: false, // updates to cache remote state
          LOG_MUTATIONS: false, // updates to cache local state
          LOG_NOTIFICATIONS: false,
          LOG_REQUESTS: false,
          LOG_REQUEST_STATUS: false,
          LOG_IDENTIFIERS: false,
          LOG_GRAPH: false,
          LOG_INSTANCE_CACHE: false,
      }
    }
  });


Properties

LOG_GRAPH public

Module: @ember-data/debug

Defined in ../packages/private-build-infra/virtual-packages/debugging.js:84

log updates received by the graph (relationship pointer storage)

LOG_IDENTIFIERS public

Module: @ember-data/debug

Defined in ../packages/private-build-infra/virtual-packages/debugging.js:76

log peek, generation and updates to Record Identifiers.

LOG_INSTANCE_CACHE public

Module: @ember-data/debug

Defined in ../packages/private-build-infra/virtual-packages/debugging.js:91

log creation/removal of RecordData and Record instances.

LOG_MUTATIONS public

Module: @ember-data/debug

Defined in ../packages/private-build-infra/virtual-packages/debugging.js:47

log local-state updates to the cache

LOG_NOTIFICATIONS public

Module: @ember-data/debug

Defined in ../packages/private-build-infra/virtual-packages/debugging.js:54

log notifications received by the NotificationManager

LOG_OPERATIONS public

Module: @ember-data/debug

Defined in ../packages/private-build-infra/virtual-packages/debugging.js:40

log remote-state updates to the cache

LOG_PAYLOADS public

Module: @ember-data/debug

Defined in ../packages/private-build-infra/virtual-packages/debugging.js:31

log payloads received by the store via push or returned from a delete/update/create operation.

LOG_REQUESTS public

Module: @ember-data/debug

Defined in ../packages/private-build-infra/virtual-packages/debugging.js:61

log requests issued by the RequestManager

LOG_REQUEST_STATUS public

Module: @ember-data/debug

Defined in ../packages/private-build-infra/virtual-packages/debugging.js:68

log updates to requests the store has issued to the network (adapter) to fulfill.

On this page


Properties

  • LOG_GRAPH
  • LOG_IDENTIFIERS
  • LOG_INSTANCE_CACHE
  • LOG_MUTATIONS
  • LOG_NOTIFICATIONS
  • LOG_OPERATIONS
  • LOG_PAYLOADS
  • LOG_REQUESTS
  • LOG_REQUEST_STATUS
Team Sponsors Security Legal Branding Community Guidelines
Twitter GitHub Discord Mastodon

If you want help you can contact us by email, open an issue, or get realtime help by joining the Ember Discord.

© Copyright 2025 - Tilde Inc.
Ember.js is free, open source and always will be.


Ember is generously supported by
blue Created with Sketch.