code: function log(err) {
      if (_logger) {
        if (typeof(err) == 'string') {
          err = { message: err, code: 0 }
        }
        _logger(err);
      }
    }
docs: /*
  
  Starts listening to orientation event on the window object