资 源 简 介
Supports csv format files for loging. Adding line by line csv formated log file.
Not yet many features. Made for personal use. For commercial use also allowed ;].
HowTo
cl = csvlog_create( "./log.csv", "id,name,surname" ); csvlog_set( cl, "id", "1" ); csvlog_set( cl, "name", "john" ); csvlog_nl( cl ); csvlog_set( cl, "surname", "backer" ); csvlog_nl( cl ); csvlog_sets( cl, "id", ""); csvlog_sets( cl, "name", "a"); csvlog_sets( cl, "surname", "a""d"); csvlog_nl( cl ); csvlog_nl( cl ); csvlog_close( cl );
result file is
1,john,,,backer"","a","a""""d",,
Future features
Auto timestamp
[0001.1212]1,"asd","asd"
Base64
if binary files will be log