docs: function (method) {
      return (
        /* The core method implementation. */
        function () {
          if (api.enabled) {
            if (doesConsoleExistImpl()) {
              /* The common way. */
              if (typeof console[method] === "function") {
                console[method].apply(console, arguments);
              }
              /* The IE 8–9 way. */
              else {
                P_FUNCTION.apply.call(console[method], console, arguments);
              }
            }
            else {
              api.logs.push(P_ARRAY.slice.call(arguments));
            }
          }
          return api;
        }
      );
    }