Skip to content

IReplacers

@tsed/logger

Usage

typescript
import { IReplacers } from "@tsed/logger";

See /packages/logger/src/types/common/layouts/interfaces/Replacers.ts.

Overview

ts
interface IReplacers {
    "c"(loggingEvent?: any, specifier?: any): string;
    "d"(loggingEvent?: any, specifier?: any): string;
    "h"(loggingEvent?: any, specifier?: any): string;
    "m"(loggingEvent?: any, specifier?: any): string;
    "n"(loggingEvent?: any, specifier?: any): string;
    "p"(loggingEvent?: any, specifier?: any): string;
    "r"(loggingEvent?: any, specifier?: any): string;
    "["(loggingEvent?: any, specifier?: any): string;
    "]"(loggingEvent?: any, specifier?: any): string;
    "y"(loggingEvent?: any, specifier?: any): string;
    "z"(loggingEvent?: any, specifier?: any): string;
    "%"(loggingEvent?: any, specifier?: any): string;
    "x"(loggingEvent?: any, specifier?: any): string;
    [key: string]: (loggingEvent?: any, specifier?: any) => string;
}

"c"

ts
"c"(loggingEvent?: any, specifier?: any): string;

"d"

ts
"d"(loggingEvent?: any, specifier?: any): string;

"h"

ts
"h"(loggingEvent?: any, specifier?: any): string;

"m"

ts
"m"(loggingEvent?: any, specifier?: any): string;

"n"

ts
"n"(loggingEvent?: any, specifier?: any): string;

"p"

ts
"p"(loggingEvent?: any, specifier?: any): string;

"r"

ts
"r"(loggingEvent?: any, specifier?: any): string;

"["

ts
"["(loggingEvent?: any, specifier?: any): string;

"]"

ts
"]"(loggingEvent?: any, specifier?: any): string;

"y"

ts
"y"(loggingEvent?: any, specifier?: any): string;

"z"

ts
"z"(loggingEvent?: any, specifier?: any): string;

"%"

ts
"%"(loggingEvent?: any, specifier?: any): string;

"x"

ts
"x"(loggingEvent?: any, specifier?: any): string;

[key: string]:

ts
[key: string]: (loggingEvent?: any, specifier?: any) => string;

Released under the MIT License.