add feature to control buffered log, include filter and buffer cap
address comment raised by trevj
Merge pull request #83 from uProxy/shanjian-log-change

add feature to control buffered log, include filter and buffer cap