Florian Friedrich d2cbd0aa19 Update Demos 3 år sedan
..
Base.lproj d2cbd0aa19 Update Demos 3 år sedan
OverflowTestMac.xcodeproj d2cbd0aa19 Update Demos 3 år sedan
en.lproj d2cbd0aa19 Update Demos 3 år sedan
OverflowTestMac-Info.plist f670be745b Update Demos 8 år sedan
OverflowTestMacAppDelegate.h 04421a3411 Spelling. 7 år sedan
OverflowTestMacAppDelegate.m d2cbd0aa19 Update Demos 3 år sedan
OverflowTestMac_Prefix.pch 04421a3411 Spelling. 7 år sedan
ReadMe.txt 313820cd04 Add consistent newline to file endings 4 år sedan
SlowLogger.h 04421a3411 Spelling. 7 år sedan
SlowLogger.m 04421a3411 Spelling. 7 år sedan
main.m 04421a3411 Spelling. 7 år sedan

ReadMe.txt

This Xcode project demonstrates how the logging framework handles overflow. That is, if asynchronous logging is enabled, and the application spits out log messages faster than the framework can process them, then what should the framework do?

The framework can optionally enforce a maximum queue size. This project tests this max queue size, and ensures the framework is properly enforcing it.

Detailed information can be found in DDLog's queueLogMessage:: method.

This is a unit test project.