forked from magicalpanda/MagicalRecord
-
Notifications
You must be signed in to change notification settings - Fork 0
Logging
Tony Arnold edited this page Apr 10, 2014
·
15 revisions
MagicalRecord has logging built in to most of it's interactions with Core Data. When errors occur during fetching or saving data, these errors are captured and (if enabled) logged to the console.
Logging can be configured by calling [MagicalRecord setLogLevel:…]; using one of the predefined logging levels:
MagicalRecordLogLevelOffMagicalRecordLogLevelFatalMagicalRecordLogLevelErrorMagicalRecordLogLevelWarnMagicalRecordLogLevelInfoMagicalRecordLogLevelVerbose
The logging level defaults to MagicalRecordLogLevelWarn.
Setting the log level to MagicalRecordLogLevelOff completely disables MagicalRecord's logging.
MagicalRecord Guide
- Installing MagicalRecord
- Getting Started
- Working with Managed Object Contexts
- Creating Entities
- Deleting Entities
- Fetching Entities
- Saving Entities
- Usage Patterns
- Importing Data
- Logging
Upgrade Guides
Contributing to MagicalRecord
Resources