a simple console handler logging messages more precisely

this handler will log ERROR messages and above to stderr,
other messages will log to stdout

Signed-off-by: Gui Chen <gui.chen@intel.com>