this link shows you how good does it

http://www.acis.ufl.edu/~ptony82/jingle-html/logging_8h_source.html#l00340