def log(msg, level = :info)
      if logger
        logger.send(level, msg)
      else
        print_message(level, msg)
      end
    end
def log(msg, level = :info)
      if logger
        logger.send(level, msg)
      else
        print_message(level, msg)
      end
    end
@param opts [Hash] options hash from a child of Wavefront::Base

 Send a message to a Ruby logger object if the user supplied
 one, or print to standard out if not.

 @param msg [String] the string to print
 @param level [Symbol] the level of the message.
   :verbose messages equate to a standard INFO log level and
   :debug to DEBUG.