Class DebugLogging

public

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.

1
2
3
4
5
6
7
8
9
10
11
  let app = new EmberApp(defaults, {
    emberData: {
      debug: {
          LOG_NOTIFICATIONS: false,
          LOG_REQUEST_STATUS: false,
          LOG_IDENTIFIERS: false,
          LOG_GRAPH: false,
          LOG_INSTANCE_CACHE: false,
      }
    }
  });

Show:

log updates received by the graph (relationship pointer storage)

log peek, generation and updates to Record Identifiers.

log creation/removal of RecordData and Record instances.

log notifications received by the RecordNotificationManager

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