Skip to content

Commit

Permalink
version: 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phg2491 committed Aug 24, 2020
1 parent fc8db53 commit 5c1fa09
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 21 deletions.
12 changes: 8 additions & 4 deletions lib/common/config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@ declare function getGlobalConfig(): GlobalLogConfig;
declare function setGlobalConfig(config: GlobalLogConfig): void;
declare function assembleBuildConfig(config?: RequestLogConfig | ResponseLogConfig | ErrorLogConfig): {
data?: boolean | undefined;
url?: boolean | undefined;
method?: boolean | undefined;
url?: boolean | undefined;
status?: boolean | undefined;
statusText?: boolean | undefined;
code?: boolean | undefined;
prefixText?: string | boolean | undefined;
dateFormat?: string | boolean | undefined;
headers?: boolean | undefined;
logger: (text: string) => any;
} | {
data?: boolean | undefined;
url?: boolean | undefined;
method?: boolean | undefined;
url?: boolean | undefined;
prefixText?: string | boolean | undefined;
dateFormat?: string | boolean | undefined;
headers?: boolean | undefined;
logger: (text: string) => any;
status?: boolean | undefined;
statusText?: boolean | undefined;
code?: boolean | undefined;
Expand All @@ -28,17 +30,19 @@ declare function assembleBuildConfig(config?: RequestLogConfig | ResponseLogConf
prefixText?: string | boolean | undefined;
dateFormat?: string | boolean | undefined;
headers?: boolean | undefined;
url?: boolean | undefined;
logger: (text: string) => any;
method?: boolean | undefined;
url?: boolean | undefined;
code?: boolean | undefined;
} | {
data?: boolean | undefined;
code?: boolean | undefined;
prefixText?: string | boolean | undefined;
dateFormat?: string | boolean | undefined;
headers?: boolean | undefined;
url?: boolean | undefined;
logger: (text: string) => any;
method?: boolean | undefined;
url?: boolean | undefined;
status?: boolean | undefined;
statusText?: boolean | undefined;
};
Expand Down
8 changes: 6 additions & 2 deletions lib/common/config.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions lib/common/print.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5c1fa09

Please # to comment.