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

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.