From 9aab33b7c4d2daf1434e0227cc467e581b0b7a93 Mon Sep 17 00:00:00 2001 From: Sebastien Guillemot Date: Mon, 16 Dec 2024 07:46:46 +0900 Subject: [PATCH] Add missing fileNameWithLine --- src/interfaces.ts | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/src/interfaces.ts b/src/interfaces.ts index a0f25a8..a32f102 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -20,6 +20,7 @@ export interface IPrettyLogStyles { dateIsoStr?: TStyle; logLevelName?: TStyle; fileName?: TStyle; + fileNameWithLine?: TStyle; filePath?: TStyle; fileLine?: TStyle; filePathWithLine?: TStyle; @@ -82,27 +83,7 @@ export interface ISettings extends ISettingsParam { prettyErrorLoggerNameDelimiter: string; stylePrettyLogs: boolean; prettyLogTimeZone: "UTC" | "local"; - prettyLogStyles: { - yyyy?: TStyle; - mm?: TStyle; - dd?: TStyle; - hh?: TStyle; - MM?: TStyle; - ss?: TStyle; - ms?: TStyle; - dateIsoStr?: TStyle; - logLevelName?: TStyle; - fileName?: TStyle; - fileNameWithLine?: TStyle; - filePath?: TStyle; - fileLine?: TStyle; - filePathWithLine?: TStyle; - name?: TStyle; - nameWithDelimiterPrefix?: TStyle; - nameWithDelimiterSuffix?: TStyle; - errorName?: TStyle; - errorMessage?: TStyle; - }; + prettyLogStyles: IPrettyLogStyles; prettyInspectOptions: InspectOptions; metaProperty: string; maskPlaceholder: string;