WGShare.Client.Wx/miniprogram_npm/signalr-for-wx/Loggers.js

18 lines
661 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 版权所有c.NET基金会。保留所有权利。
// 在2.0版Apache许可下授权。有关许可证信息请参见项目根目录中的License.txt。
/** 未定义 logger 时使用的 空输出实现. */
var NullLogger = /** @class */ (function () {
function NullLogger() {
}
NullLogger.prototype.log = function (logLevel) {
var msg = [];
for (var _i = 1; _i < arguments.length; _i++) {
msg[_i - 1] = arguments[_i];
}
};
/** The singleton instance of the {@link @aspnet/signalr.NullLogger}. */
NullLogger.instance = new NullLogger();
return NullLogger;
}());
export { NullLogger };