Skip to content

Commit

Permalink
Remove optional text
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Nov 8, 2022
1 parent f6bec3a commit 455e948
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/src/diag/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,16 @@ export interface DiagLoggerApi {
* Set the global DiagLogger and DiagLogLevel.
* If a global diag logger is already set, this will override it.
*
* @param logger - [Optional] The {@link DiagLogger} instance to set as the default logger.
* @param options - [Optional] A {@link LoggerOptions} object.
* @param logger - The {@link DiagLogger} instance to set as the default logger.
* @param options - A {@link LoggerOptions} object. If not provided, default values will be set.
* @returns `true` if the logger was successfully registered, else `false`
*/
setLogger(logger: DiagLogger, options?: LoggerOptions): boolean;

/**
*
* @param logger - [Optional] The {@link DiagLogger} instance to set as the default logger.
* @param logLevel - [Optional] The {@link DiagLogLevel} used to filter logs sent to the logger. If not provided it will default to {@link DiagLogLevel.INFO}.
* @param logger - The {@link DiagLogger} instance to set as the default logger.
* @param logLevel - The {@link DiagLogLevel} used to filter logs sent to the logger. If not provided it will default to {@link DiagLogLevel.INFO}.
* @returns `true` if the logger was successfully registered, else `false`
*/
setLogger(logger: DiagLogger, logLevel?: DiagLogLevel): boolean;
Expand Down

0 comments on commit 455e948

Please sign in to comment.