Class DebugLogging
publicMany 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,
}
}
});
LOG_GRAPH public
Defined in ../packages/build-config/src/debugging.ts:91
log updates received by the graph (relationship pointer storage)
LOG_IDENTIFIERS public
Defined in ../packages/build-config/src/debugging.ts:83
log peek, generation and updates to Record Identifiers.
LOG_INSTANCE_CACHE public
Defined in ../packages/build-config/src/debugging.ts:98
log creation/removal of RecordData and Record instances.
LOG_MUTATIONS public
Defined in ../packages/build-config/src/debugging.ts:54
log local-state updates to the cache
LOG_NOTIFICATIONS public
Defined in ../packages/build-config/src/debugging.ts:61
log notifications received by the NotificationManager
LOG_OPERATIONS public
Defined in ../packages/build-config/src/debugging.ts:47
log remote-state updates to the cache
LOG_PAYLOADS public
Defined in ../packages/build-config/src/debugging.ts:38
log payloads received by the store
via push
or returned from a delete/update/create
operation.
LOG_REQUESTS public
Defined in ../packages/build-config/src/debugging.ts:68
log requests issued by the RequestManager
LOG_REQUEST_STATUS public
Defined in ../packages/build-config/src/debugging.ts:75
log updates to requests the store has issued to the network (adapter) to fulfill.