[ci] format

This commit is contained in:
FredKSchott 2022-08-01 16:16:51 +00:00 committed by fredkbot
parent 643443bcd9
commit f62f05f181

View file

@ -43,18 +43,13 @@ export const levels: Record<LoggerLevel, number> = {
}; };
/** Full logging API */ /** Full logging API */
export function log( export function log(opts: LogOptions, level: LoggerLevel, type: string | null, message: string) {
opts: LogOptions,
level: LoggerLevel,
type: string | null,
message: string,
) {
const logLevel = opts.level; const logLevel = opts.level;
const dest = opts.dest; const dest = opts.dest;
const event: LogMessage = { const event: LogMessage = {
type, type,
level, level,
message message,
}; };
// test if this level is enabled or not // test if this level is enabled or not