Files
Signal-Desktop/ts/types/Logging.ts
2020-11-04 13:03:13 -06:00

14 lines
298 B
TypeScript

// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
type LogFunction = (...args: Array<unknown>) => void;
export type LoggerType = {
fatal: LogFunction;
error: LogFunction;
warn: LogFunction;
info: LogFunction;
debug: LogFunction;
trace: LogFunction;
};