diff --git a/src/logging/LogFilter.ts b/src/logging/LogFilter.ts index 5f0e7ae7..d0189631 100644 --- a/src/logging/LogFilter.ts +++ b/src/logging/LogFilter.ts @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import type {ILogItem} from "./LogItem"; +import type {ILogItem, ISerializedItem} from "./LogItem"; export enum LogLevel { All = 1, @@ -35,7 +35,7 @@ export class LogFilter { this._parentFilter = parentFilter; } - filter(item: ILogItem, children: Array | null): boolean { + filter(item: ILogItem, children: ISerializedItem[] | null): boolean { if (this._parentFilter) { if (!this._parentFilter.filter(item, children)) { return false; diff --git a/src/logging/LogItem.ts b/src/logging/LogItem.ts index fd9fcb1d..30a6294a 100644 --- a/src/logging/LogItem.ts +++ b/src/logging/LogItem.ts @@ -18,7 +18,7 @@ limitations under the License. import {LogLevel, LogFilter} from "./LogFilter"; import type {BaseLogger} from "./BaseLogger"; -interface ISerializedItem { +export interface ISerializedItem { s: number; d?: number; v: LogItemValues;