circular log buffer
circular log buffer
- Subject: circular log buffer
- From: Joel Reymont <email@hidden>
- Date: Tue, 30 Nov 2010 09:31:35 +0000
Does anyone have code that implements a circular log buffer?
I find that using ASL with full logging increases the run time of my code from 110s to over 140s which is unacceptable. I do need to see the past few log messages on error, though. Logging to a circular buffer should give me the speed I need.
I'm thinking of writing to a fixed-size buffer and dumping that log buffer as needed. Does anyone have similar code?
Thanks, Joel
---
http://twitter.com/wagerlabs
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden