提交 4e9f29f4 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Revove future deprecated methods in Logger.

上级 aba609d9
...@@ -7,6 +7,5 @@ export declare class Logger { ...@@ -7,6 +7,5 @@ export declare class Logger {
get debug(): debug.Debugger; get debug(): debug.Debugger;
get warn(): debug.Debugger; get warn(): debug.Debugger;
get error(): debug.Debugger; get error(): debug.Debugger;
destroy(): void;
} }
//# sourceMappingURL=Logger.d.ts.map //# sourceMappingURL=Logger.d.ts.map
\ No newline at end of file
{"version":3,"file":"Logger.d.ts","sourceRoot":"","sources":["../src/Logger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,qBAAa,MAAM;IAElB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IACxC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiB;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;gBAE5B,MAAM,CAAC,EAAE,MAAM;IAsB3B,IAAI,KAAK,IAAI,KAAK,CAAC,QAAQ,CAG1B;IAED,IAAI,IAAI,IAAI,KAAK,CAAC,QAAQ,CAGzB;IAED,IAAI,KAAK,IAAI,KAAK,CAAC,QAAQ,CAG1B;IAED,OAAO,IAAI,IAAI;CAMf"} {"version":3,"file":"Logger.d.ts","sourceRoot":"","sources":["../src/Logger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,qBAAa,MAAM;IAElB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IACxC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiB;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;gBAE5B,MAAM,CAAC,EAAE,MAAM;IAsB3B,IAAI,KAAK,IAAI,KAAK,CAAC,QAAQ,CAG1B;IAED,IAAI,IAAI,IAAI,KAAK,CAAC,QAAQ,CAGzB;IAED,IAAI,KAAK,IAAI,KAAK,CAAC,QAAQ,CAG1B;CACD"}
\ No newline at end of file \ No newline at end of file
...@@ -32,10 +32,5 @@ class Logger { ...@@ -32,10 +32,5 @@ class Logger {
get error() { get error() {
return this._error; return this._error;
} }
destroy() {
this._debug.destroy();
this._warn.destroy();
this._error.destroy();
}
} }
exports.Logger = Logger; exports.Logger = Logger;
...@@ -84,7 +84,7 @@ class Worker extends EnhancedEventEmitter_1.EnhancedEventEmitter { ...@@ -84,7 +84,7 @@ class Worker extends EnhancedEventEmitter_1.EnhancedEventEmitter {
// options // options
{ {
env: { env: {
MEDIASOUP_VERSION: '3.4.8' MEDIASOUP_VERSION: '__MEDIASOUP_VERSION__'
}, },
detached: false, detached: false,
// fd 0 (stdin) : Just ignore it. // fd 0 (stdin) : Just ignore it.
......
...@@ -26,7 +26,7 @@ exports.types = types; ...@@ -26,7 +26,7 @@ exports.types = types;
/** /**
* Expose mediasoup version. * Expose mediasoup version.
*/ */
exports.version = '3.4.8'; exports.version = '__MEDIASOUP_VERSION__';
/** /**
* Expose parseScalabilityMode() function. * Expose parseScalabilityMode() function.
*/ */
......
...@@ -44,11 +44,4 @@ export class Logger ...@@ -44,11 +44,4 @@ export class Logger
{ {
return this._error; return this._error;
} }
destroy(): void
{
this._debug.destroy();
this._warn.destroy();
this._error.destroy();
}
} }
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论