"use strict";
// Console wrappers that are only active in development mode
Object.defineProperty(exports, "__esModule", { value: true });
exports.debug = exports.error = exports.warn = exports.info = void 0;
/**
 * Log an informational message. Does nothing in a production build
 *
 * @export
 * @param {*} [message]
 * @param {...any[]} optionalParams
 */
function info(message) {
    var optionalParams = [];
    for (var _i = 1; _i < arguments.length; _i++) {
        optionalParams[_i - 1] = arguments[_i];
    }
    if (__DEV__) {
        console.info(message, optionalParams);
    }
}
exports.info = info;
/**
 * Log a warning message. Does nothing in a production build
 *
 * @export
 * @param {*} [message]
 * @param {...any[]} optionalParams
 */
function warn(message) {
    var optionalParams = [];
    for (var _i = 1; _i < arguments.length; _i++) {
        optionalParams[_i - 1] = arguments[_i];
    }
    if (__DEV__) {
        console.warn(message, optionalParams);
    }
}
exports.warn = warn;
/**
 * Log an error message. Does nothing in a production build
 *
 * @export
 * @param {*} [message]
 * @param {...any[]} optionalParams
 */
function error(message) {
    var optionalParams = [];
    for (var _i = 1; _i < arguments.length; _i++) {
        optionalParams[_i - 1] = arguments[_i];
    }
    if (__DEV__) {
        console.error(message, optionalParams);
    }
}
exports.error = error;
/**
 * Log a debug message. Does nothing in a production build
 *
 * @export
 * @param {*} [message]
 * @param {...any[]} optionalParams
 */
function debug(message) {
    var optionalParams = [];
    for (var _i = 1; _i < arguments.length; _i++) {
        optionalParams[_i - 1] = arguments[_i];
    }
    if (__DEV__) {
        console.debug(message, optionalParams);
    }
}
exports.debug = debug;
//# sourceMappingURL=logger.js.map