code: function setLogLevel(level){
  
      level = level > 0 ? level : 0;
      level = level < 4 ? level : 4;
      level = parseInt(level);
      
      logLevel = level; 
  
  }
docs: Set log level for analytics
  @memberof Logger
  @param {number} level Integer logLevel value between 0 and 4