Skip to content

Commit

Permalink
ci: testing good change
Browse files Browse the repository at this point in the history
Signed-off-by: Fritz Lehnert <13189449+Neudrino@users.noreply.github.com>
  • Loading branch information
Neudrino committed May 13, 2022
1 parent 40538cd commit 1cb99c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nms/shared/logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ function getLogFormat(callingModule) {
export function configure(options: Options) {
Object.assign(globalOptions, options);
}

export function getHttpLogger(callingModule: any): Morgan {
const logger = getLogger(callingModule);
const streamOptions: StreamOptions = {
Expand All @@ -83,6 +84,7 @@ export function getHttpLogger(callingModule: any): Morgan {
stream: streamOptions,
});
}

export function getLogger(
callingModule: any,
): $winstonLogger<$winstonNpmLogLevels> {
Expand All @@ -93,6 +95,7 @@ export function getLogger(
transports: [new winston.transports.Console()],
});
}

export function getValidLogLevel(
logLevel: ?string,
): $Keys<$winstonNpmLogLevels> {
Expand Down

0 comments on commit 1cb99c0

Please sign in to comment.