c - Open-source solutions for creating a cyclical logfile? -



c - Open-source solutions for creating a cyclical logfile? -

if (!wheel) { wheel = new wheel(); } // or such

my google goggles aren't working today. figured 1 must have been coded gazillion times , looking foss code, couldn't find any.

before reinvent spherical axle-surrounding device, can point me @ url?

i coding in c embedded scheme (atmel uc3), shouldn't create difference, explain why need cyclical logfile (because of limited storage).

i want log events file on sd card , when reaches size want start writing 1 time again @ start. urls that? (fixed entry size ok; otherwise might nasty on wraparound).

thanks 1,000,000 in advance!

sourceforge has project called cyclic logs may need.

if not, it's not hardest thing implement. treat normal cyclic memory space. instead of having resident in memory have reside on disk.

( maintain pointer head of log , end of log ( increment needed ))

store headers log or flat file.

c logging embedded

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -