[liblog] support stderr, file, rsyslog