docs: function Logger (module) {
          // Set the intiial module to the provided string value if present.
          this.module = module !== undefined ? module.toString() : 'No Module';
  
          // If the module is a function then we'll look for di.js annotations to get the
          // provide string.
          if (_.isFunction(module)) {
              if (module.annotations && module.annotations.length) {
                  // Detect DI provides
                  var provides = _.detect(module.annotations, function (annotation) {
                      return _.has(annotation, 'token');
                  });
  
                  // If provides is present use that.
                  if (provides) {
                      this.module = provides.token;
                      return;
                  }
              }
  
              // If no provides then use the function.
              if (module.name) {
                  this.module = module.name;
              }
          }
      }