Error logging service

Added a log file output with timestamps and verbosity control. Accepts
strings and varargs.