Skip to content

Commit

Permalink
Create setFlag method which allows for setting the IS_LOG and `IS…
Browse files Browse the repository at this point in the history
…_PROFILE` flags from downstream library usages.
  • Loading branch information
josephperrott authored and tikurahul committed Jul 19, 2022
1 parent ba98038 commit 39a21ad
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 20 deletions.
9 changes: 7 additions & 2 deletions built/flags.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
export declare const IS_LOG = true;
export declare const IS_PROFILE = false;
export declare const Flags: {
IS_LOG: boolean;
IS_PROFILE: boolean;
};
/** Set a value for the specified global control flags. */
export declare function setFlag(flag: keyof typeof Flags, value: boolean): void;
export declare const IS_LOG: boolean, IS_PROFILE: boolean;
20 changes: 14 additions & 6 deletions built/flags.js

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

6 changes: 3 additions & 3 deletions built/logger.js

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

2 changes: 2 additions & 0 deletions built/node_support/node_request_handler.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { QueryStringUtils } from '../query_string_utils';
export declare class NodeBasedHandler extends AuthorizationRequestHandler {
httpServerPort: number;
authorizationPromise: Promise<AuthorizationRequestResponse | null> | null;
/** The content for the authorization redirect response page. */
protected authorizationRedirectPageContent: string;
constructor(httpServerPort?: number, utils?: QueryStringUtils, crypto?: Crypto);
performAuthorizationRequest(configuration: AuthorizationServiceConfiguration, request: AuthorizationRequest): void;
protected completeAuthorizationRequest(): Promise<AuthorizationRequestResponse | null>;
Expand Down
Loading

0 comments on commit 39a21ad

Please sign in to comment.