Estructura inicial del proyecto
This commit is contained in:
21
backend/node_modules/@azure/logger/LICENSE
generated
vendored
Normal file
21
backend/node_modules/@azure/logger/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
MIT License
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
122
backend/node_modules/@azure/logger/README.md
generated
vendored
Normal file
122
backend/node_modules/@azure/logger/README.md
generated
vendored
Normal file
@ -0,0 +1,122 @@
|
||||
# Azure Logger client library for JavaScript
|
||||
|
||||
The `@azure/logger` package can be used to enable logging in the Azure SDKs for JavaScript.
|
||||
|
||||
Logging can be enabled for the Azure SDK in the following ways:
|
||||
|
||||
- Setting the AZURE_LOG_LEVEL environment variable
|
||||
- Calling setLogLevel imported from "@azure/logger"
|
||||
- Calling enable() on specific loggers
|
||||
- Using the `DEBUG` environment variable.
|
||||
|
||||
Note that AZURE_LOG_LEVEL, if set, takes precedence over DEBUG. Only use DEBUG without specifying AZURE_LOG_LEVEL or calling setLogLevel.
|
||||
|
||||
## Getting started
|
||||
|
||||
### Installation
|
||||
|
||||
Install this library using npm as follows
|
||||
|
||||
```bash
|
||||
npm install @azure/logger
|
||||
```
|
||||
|
||||
## Key Concepts
|
||||
|
||||
The `@azure/logger` package supports the following log levels
|
||||
specified in order of most verbose to least verbose:
|
||||
|
||||
- verbose
|
||||
- info
|
||||
- warning
|
||||
- error
|
||||
|
||||
When setting a log level, either programmatically or via the `AZURE_LOG_LEVEL` environment variable,
|
||||
any logs that are written using a log level equal to or less than the one you choose
|
||||
will be emitted.
|
||||
|
||||
For example, setting the log level to `warning` will cause all logs that have the log
|
||||
level `warning` or `error` to be emitted.
|
||||
|
||||
**NOTE**: When logging requests and responses, we sanitize these objects to make sure things like `Authorization` headers that contain secrets are not logged.
|
||||
|
||||
Request and response bodies are never logged. Headers are redacted by default, unless present in the following list or explicitly allowed by the client SDK:
|
||||
|
||||
- "x-ms-client-request-id",
|
||||
- "x-ms-return-client-request-id",
|
||||
- "x-ms-useragent",
|
||||
- "x-ms-correlation-request-id",
|
||||
- "x-ms-request-id",
|
||||
- "client-request-id",
|
||||
- "ms-cv",
|
||||
- "return-client-request-id",
|
||||
- "traceparent",
|
||||
- "Access-Control-Allow-Credentials",
|
||||
- "Access-Control-Allow-Headers",
|
||||
- "Access-Control-Allow-Methods",
|
||||
- "Access-Control-Allow-Origin",
|
||||
- "Access-Control-Expose-Headers",
|
||||
- "Access-Control-Max-Age",
|
||||
- "Access-Control-Request-Headers",
|
||||
- "Access-Control-Request-Method",
|
||||
- "Origin",
|
||||
- "Accept",
|
||||
- "Accept-Encoding",
|
||||
- "Cache-Control",
|
||||
- "Connection",
|
||||
- "Content-Length",
|
||||
- "Content-Type",
|
||||
- "Date",
|
||||
- "ETag",
|
||||
- "Expires",
|
||||
- "If-Match",
|
||||
- "If-Modified-Since",
|
||||
- "If-None-Match",
|
||||
- "If-Unmodified-Since",
|
||||
- "Last-Modified",
|
||||
- "Pragma",
|
||||
- "Request-Id",
|
||||
- "Retry-After",
|
||||
- "Server",
|
||||
- "Transfer-Encoding",
|
||||
- "User-Agent",
|
||||
- "WWW-Authenticate",
|
||||
|
||||
## Examples
|
||||
|
||||
### Example 1 - basic usage
|
||||
|
||||
```ts snippet:ReadmeSampleBasicUsage
|
||||
import { setLogLevel } from "@azure/logger";
|
||||
|
||||
setLogLevel("info");
|
||||
```
|
||||
|
||||
### Example 2 - redirect log output
|
||||
|
||||
```ts snippet:ReadmeSampleRedirectLog
|
||||
import { setLogLevel, AzureLogger } from "@azure/logger";
|
||||
|
||||
setLogLevel("verbose");
|
||||
|
||||
// override logging to output to console.log (default location is stderr)
|
||||
AzureLogger.log = (...args) => {
|
||||
console.log(...args);
|
||||
};
|
||||
```
|
||||
|
||||
Using `AzureLogger`, it is possible to redirect the logging output from the Azure SDKs by
|
||||
overriding the `AzureLogger.log` method. This may be useful if you want to redirect logs to
|
||||
a location other than stderr.
|
||||
|
||||
## Next steps
|
||||
|
||||
You can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
If you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new).
|
||||
|
||||
## Contributing
|
||||
|
||||
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
|
||||
96
backend/node_modules/@azure/logger/dist/browser/index.d.ts
generated
vendored
Normal file
96
backend/node_modules/@azure/logger/dist/browser/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,96 @@
|
||||
/**
|
||||
* The AzureLogger provides a mechanism for overriding where logs are output to.
|
||||
* By default, logs are sent to stderr.
|
||||
* Override the `log` method to redirect logs to another location.
|
||||
*/
|
||||
export declare const AzureLogger: AzureClientLogger;
|
||||
/**
|
||||
* Immediately enables logging at the specified log level. If no level is specified, logging is disabled.
|
||||
* @param level - The log level to enable for logging.
|
||||
* Options from most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
export declare function setLogLevel(level?: AzureLogLevel): void;
|
||||
/**
|
||||
* Retrieves the currently specified log level.
|
||||
*/
|
||||
export declare function getLogLevel(): AzureLogLevel | undefined;
|
||||
/**
|
||||
* Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.
|
||||
* @param namespace - The name of the SDK package.
|
||||
* @hidden
|
||||
*/
|
||||
export declare function createClientLogger(namespace: string): AzureLogger;
|
||||
/**
|
||||
* A log function that can be dynamically enabled and redirected.
|
||||
*/
|
||||
export interface Debugger {
|
||||
/**
|
||||
* Logs the given arguments to the `log` method.
|
||||
*/
|
||||
(...args: any[]): void;
|
||||
/**
|
||||
* True if this logger is active and logging.
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* Used to cleanup/remove this logger.
|
||||
*/
|
||||
destroy: () => boolean;
|
||||
/**
|
||||
* The current log method. Can be overridden to redirect output.
|
||||
*/
|
||||
log: (...args: any[]) => void;
|
||||
/**
|
||||
* The namespace of this logger.
|
||||
*/
|
||||
namespace: string;
|
||||
/**
|
||||
* Extends this logger with a child namespace.
|
||||
* Namespaces are separated with a ':' character.
|
||||
*/
|
||||
extend: (namespace: string) => Debugger;
|
||||
}
|
||||
/**
|
||||
* The log levels supported by the logger.
|
||||
* The log levels in order of most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
export type AzureLogLevel = "verbose" | "info" | "warning" | "error";
|
||||
/**
|
||||
* An AzureClientLogger is a function that can log to an appropriate severity level.
|
||||
*/
|
||||
export type AzureClientLogger = Debugger;
|
||||
/**
|
||||
* Defines the methods available on the SDK-facing logger.
|
||||
*/
|
||||
export interface AzureLogger {
|
||||
/**
|
||||
* Used for failures the program is unlikely to recover from,
|
||||
* such as Out of Memory.
|
||||
*/
|
||||
error: Debugger;
|
||||
/**
|
||||
* Used when a function fails to perform its intended task.
|
||||
* Usually this means the function will throw an exception.
|
||||
* Not used for self-healing events (e.g. automatic retry)
|
||||
*/
|
||||
warning: Debugger;
|
||||
/**
|
||||
* Used when a function operates normally.
|
||||
*/
|
||||
info: Debugger;
|
||||
/**
|
||||
* Used for detailed troubleshooting scenarios. This is
|
||||
* intended for use by developers / system administrators
|
||||
* for diagnosing specific failures.
|
||||
*/
|
||||
verbose: Debugger;
|
||||
}
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
40
backend/node_modules/@azure/logger/dist/browser/index.js
generated
vendored
Normal file
40
backend/node_modules/@azure/logger/dist/browser/index.js
generated
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { createLoggerContext } from "@typespec/ts-http-runtime/internal/logger";
|
||||
const context = createLoggerContext({
|
||||
logLevelEnvVarName: "AZURE_LOG_LEVEL",
|
||||
namespace: "azure",
|
||||
});
|
||||
/**
|
||||
* The AzureLogger provides a mechanism for overriding where logs are output to.
|
||||
* By default, logs are sent to stderr.
|
||||
* Override the `log` method to redirect logs to another location.
|
||||
*/
|
||||
export const AzureLogger = context.logger;
|
||||
/**
|
||||
* Immediately enables logging at the specified log level. If no level is specified, logging is disabled.
|
||||
* @param level - The log level to enable for logging.
|
||||
* Options from most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
export function setLogLevel(level) {
|
||||
context.setLogLevel(level);
|
||||
}
|
||||
/**
|
||||
* Retrieves the currently specified log level.
|
||||
*/
|
||||
export function getLogLevel() {
|
||||
return context.getLogLevel();
|
||||
}
|
||||
/**
|
||||
* Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.
|
||||
* @param namespace - The name of the SDK package.
|
||||
* @hidden
|
||||
*/
|
||||
export function createClientLogger(namespace) {
|
||||
return context.createClientLogger(namespace);
|
||||
}
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
backend/node_modules/@azure/logger/dist/browser/index.js.map
generated
vendored
Normal file
1
backend/node_modules/@azure/logger/dist/browser/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAEhF,MAAM,OAAO,GAAG,mBAAmB,CAAC;IAClC,kBAAkB,EAAE,iBAAiB;IACrC,SAAS,EAAE,OAAO;CACnB,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAsB,OAAO,CAAC,MAAM,CAAC;AAE7D;;;;;;;;GAQG;AACH,MAAM,UAAU,WAAW,CAAC,KAAqB;IAC/C,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC7B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,WAAW;IACzB,OAAO,OAAO,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAAC,SAAiB;IAClD,OAAO,OAAO,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC;AAC/C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createLoggerContext } from \"@typespec/ts-http-runtime/internal/logger\";\n\nconst context = createLoggerContext({\n logLevelEnvVarName: \"AZURE_LOG_LEVEL\",\n namespace: \"azure\",\n});\n\n/**\n * The AzureLogger provides a mechanism for overriding where logs are output to.\n * By default, logs are sent to stderr.\n * Override the `log` method to redirect logs to another location.\n */\nexport const AzureLogger: AzureClientLogger = context.logger;\n\n/**\n * Immediately enables logging at the specified log level. If no level is specified, logging is disabled.\n * @param level - The log level to enable for logging.\n * Options from most verbose to least verbose are:\n * - verbose\n * - info\n * - warning\n * - error\n */\nexport function setLogLevel(level?: AzureLogLevel): void {\n context.setLogLevel(level);\n}\n\n/**\n * Retrieves the currently specified log level.\n */\nexport function getLogLevel(): AzureLogLevel | undefined {\n return context.getLogLevel();\n}\n\n/**\n * Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.\n * @param namespace - The name of the SDK package.\n * @hidden\n */\nexport function createClientLogger(namespace: string): AzureLogger {\n return context.createClientLogger(namespace);\n}\n\n/**\n * A log function that can be dynamically enabled and redirected.\n */\nexport interface Debugger {\n /**\n * Logs the given arguments to the `log` method.\n */\n (...args: any[]): void;\n /**\n * True if this logger is active and logging.\n */\n enabled: boolean;\n /**\n * Used to cleanup/remove this logger.\n */\n destroy: () => boolean;\n /**\n * The current log method. Can be overridden to redirect output.\n */\n log: (...args: any[]) => void;\n /**\n * The namespace of this logger.\n */\n namespace: string;\n /**\n * Extends this logger with a child namespace.\n * Namespaces are separated with a ':' character.\n */\n extend: (namespace: string) => Debugger;\n}\n\n/**\n * The log levels supported by the logger.\n * The log levels in order of most verbose to least verbose are:\n * - verbose\n * - info\n * - warning\n * - error\n */\nexport type AzureLogLevel = \"verbose\" | \"info\" | \"warning\" | \"error\";\n\n/**\n * An AzureClientLogger is a function that can log to an appropriate severity level.\n */\nexport type AzureClientLogger = Debugger;\n\n/**\n * Defines the methods available on the SDK-facing logger.\n */\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport interface AzureLogger {\n /**\n * Used for failures the program is unlikely to recover from,\n * such as Out of Memory.\n */\n error: Debugger;\n /**\n * Used when a function fails to perform its intended task.\n * Usually this means the function will throw an exception.\n * Not used for self-healing events (e.g. automatic retry)\n */\n warning: Debugger;\n /**\n * Used when a function operates normally.\n */\n info: Debugger;\n /**\n * Used for detailed troubleshooting scenarios. This is\n * intended for use by developers / system administrators\n * for diagnosing specific failures.\n */\n verbose: Debugger;\n}\n"]}
|
||||
3
backend/node_modules/@azure/logger/dist/browser/package.json
generated
vendored
Normal file
3
backend/node_modules/@azure/logger/dist/browser/package.json
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "module"
|
||||
}
|
||||
96
backend/node_modules/@azure/logger/dist/commonjs/index.d.ts
generated
vendored
Normal file
96
backend/node_modules/@azure/logger/dist/commonjs/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,96 @@
|
||||
/**
|
||||
* The AzureLogger provides a mechanism for overriding where logs are output to.
|
||||
* By default, logs are sent to stderr.
|
||||
* Override the `log` method to redirect logs to another location.
|
||||
*/
|
||||
export declare const AzureLogger: AzureClientLogger;
|
||||
/**
|
||||
* Immediately enables logging at the specified log level. If no level is specified, logging is disabled.
|
||||
* @param level - The log level to enable for logging.
|
||||
* Options from most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
export declare function setLogLevel(level?: AzureLogLevel): void;
|
||||
/**
|
||||
* Retrieves the currently specified log level.
|
||||
*/
|
||||
export declare function getLogLevel(): AzureLogLevel | undefined;
|
||||
/**
|
||||
* Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.
|
||||
* @param namespace - The name of the SDK package.
|
||||
* @hidden
|
||||
*/
|
||||
export declare function createClientLogger(namespace: string): AzureLogger;
|
||||
/**
|
||||
* A log function that can be dynamically enabled and redirected.
|
||||
*/
|
||||
export interface Debugger {
|
||||
/**
|
||||
* Logs the given arguments to the `log` method.
|
||||
*/
|
||||
(...args: any[]): void;
|
||||
/**
|
||||
* True if this logger is active and logging.
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* Used to cleanup/remove this logger.
|
||||
*/
|
||||
destroy: () => boolean;
|
||||
/**
|
||||
* The current log method. Can be overridden to redirect output.
|
||||
*/
|
||||
log: (...args: any[]) => void;
|
||||
/**
|
||||
* The namespace of this logger.
|
||||
*/
|
||||
namespace: string;
|
||||
/**
|
||||
* Extends this logger with a child namespace.
|
||||
* Namespaces are separated with a ':' character.
|
||||
*/
|
||||
extend: (namespace: string) => Debugger;
|
||||
}
|
||||
/**
|
||||
* The log levels supported by the logger.
|
||||
* The log levels in order of most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
export type AzureLogLevel = "verbose" | "info" | "warning" | "error";
|
||||
/**
|
||||
* An AzureClientLogger is a function that can log to an appropriate severity level.
|
||||
*/
|
||||
export type AzureClientLogger = Debugger;
|
||||
/**
|
||||
* Defines the methods available on the SDK-facing logger.
|
||||
*/
|
||||
export interface AzureLogger {
|
||||
/**
|
||||
* Used for failures the program is unlikely to recover from,
|
||||
* such as Out of Memory.
|
||||
*/
|
||||
error: Debugger;
|
||||
/**
|
||||
* Used when a function fails to perform its intended task.
|
||||
* Usually this means the function will throw an exception.
|
||||
* Not used for self-healing events (e.g. automatic retry)
|
||||
*/
|
||||
warning: Debugger;
|
||||
/**
|
||||
* Used when a function operates normally.
|
||||
*/
|
||||
info: Debugger;
|
||||
/**
|
||||
* Used for detailed troubleshooting scenarios. This is
|
||||
* intended for use by developers / system administrators
|
||||
* for diagnosing specific failures.
|
||||
*/
|
||||
verbose: Debugger;
|
||||
}
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
46
backend/node_modules/@azure/logger/dist/commonjs/index.js
generated
vendored
Normal file
46
backend/node_modules/@azure/logger/dist/commonjs/index.js
generated
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
"use strict";
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AzureLogger = void 0;
|
||||
exports.setLogLevel = setLogLevel;
|
||||
exports.getLogLevel = getLogLevel;
|
||||
exports.createClientLogger = createClientLogger;
|
||||
const logger_1 = require("@typespec/ts-http-runtime/internal/logger");
|
||||
const context = (0, logger_1.createLoggerContext)({
|
||||
logLevelEnvVarName: "AZURE_LOG_LEVEL",
|
||||
namespace: "azure",
|
||||
});
|
||||
/**
|
||||
* The AzureLogger provides a mechanism for overriding where logs are output to.
|
||||
* By default, logs are sent to stderr.
|
||||
* Override the `log` method to redirect logs to another location.
|
||||
*/
|
||||
exports.AzureLogger = context.logger;
|
||||
/**
|
||||
* Immediately enables logging at the specified log level. If no level is specified, logging is disabled.
|
||||
* @param level - The log level to enable for logging.
|
||||
* Options from most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
function setLogLevel(level) {
|
||||
context.setLogLevel(level);
|
||||
}
|
||||
/**
|
||||
* Retrieves the currently specified log level.
|
||||
*/
|
||||
function getLogLevel() {
|
||||
return context.getLogLevel();
|
||||
}
|
||||
/**
|
||||
* Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.
|
||||
* @param namespace - The name of the SDK package.
|
||||
* @hidden
|
||||
*/
|
||||
function createClientLogger(namespace) {
|
||||
return context.createClientLogger(namespace);
|
||||
}
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
backend/node_modules/@azure/logger/dist/commonjs/index.js.map
generated
vendored
Normal file
1
backend/node_modules/@azure/logger/dist/commonjs/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAyBlC,kCAEC;AAKD,kCAEC;AAOD,gDAEC;AAzCD,sEAAgF;AAEhF,MAAM,OAAO,GAAG,IAAA,4BAAmB,EAAC;IAClC,kBAAkB,EAAE,iBAAiB;IACrC,SAAS,EAAE,OAAO;CACnB,CAAC,CAAC;AAEH;;;;GAIG;AACU,QAAA,WAAW,GAAsB,OAAO,CAAC,MAAM,CAAC;AAE7D;;;;;;;;GAQG;AACH,SAAgB,WAAW,CAAC,KAAqB;IAC/C,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC7B,CAAC;AAED;;GAEG;AACH,SAAgB,WAAW;IACzB,OAAO,OAAO,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC;AAED;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,SAAiB;IAClD,OAAO,OAAO,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC;AAC/C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createLoggerContext } from \"@typespec/ts-http-runtime/internal/logger\";\n\nconst context = createLoggerContext({\n logLevelEnvVarName: \"AZURE_LOG_LEVEL\",\n namespace: \"azure\",\n});\n\n/**\n * The AzureLogger provides a mechanism for overriding where logs are output to.\n * By default, logs are sent to stderr.\n * Override the `log` method to redirect logs to another location.\n */\nexport const AzureLogger: AzureClientLogger = context.logger;\n\n/**\n * Immediately enables logging at the specified log level. If no level is specified, logging is disabled.\n * @param level - The log level to enable for logging.\n * Options from most verbose to least verbose are:\n * - verbose\n * - info\n * - warning\n * - error\n */\nexport function setLogLevel(level?: AzureLogLevel): void {\n context.setLogLevel(level);\n}\n\n/**\n * Retrieves the currently specified log level.\n */\nexport function getLogLevel(): AzureLogLevel | undefined {\n return context.getLogLevel();\n}\n\n/**\n * Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.\n * @param namespace - The name of the SDK package.\n * @hidden\n */\nexport function createClientLogger(namespace: string): AzureLogger {\n return context.createClientLogger(namespace);\n}\n\n/**\n * A log function that can be dynamically enabled and redirected.\n */\nexport interface Debugger {\n /**\n * Logs the given arguments to the `log` method.\n */\n (...args: any[]): void;\n /**\n * True if this logger is active and logging.\n */\n enabled: boolean;\n /**\n * Used to cleanup/remove this logger.\n */\n destroy: () => boolean;\n /**\n * The current log method. Can be overridden to redirect output.\n */\n log: (...args: any[]) => void;\n /**\n * The namespace of this logger.\n */\n namespace: string;\n /**\n * Extends this logger with a child namespace.\n * Namespaces are separated with a ':' character.\n */\n extend: (namespace: string) => Debugger;\n}\n\n/**\n * The log levels supported by the logger.\n * The log levels in order of most verbose to least verbose are:\n * - verbose\n * - info\n * - warning\n * - error\n */\nexport type AzureLogLevel = \"verbose\" | \"info\" | \"warning\" | \"error\";\n\n/**\n * An AzureClientLogger is a function that can log to an appropriate severity level.\n */\nexport type AzureClientLogger = Debugger;\n\n/**\n * Defines the methods available on the SDK-facing logger.\n */\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport interface AzureLogger {\n /**\n * Used for failures the program is unlikely to recover from,\n * such as Out of Memory.\n */\n error: Debugger;\n /**\n * Used when a function fails to perform its intended task.\n * Usually this means the function will throw an exception.\n * Not used for self-healing events (e.g. automatic retry)\n */\n warning: Debugger;\n /**\n * Used when a function operates normally.\n */\n info: Debugger;\n /**\n * Used for detailed troubleshooting scenarios. This is\n * intended for use by developers / system administrators\n * for diagnosing specific failures.\n */\n verbose: Debugger;\n}\n"]}
|
||||
3
backend/node_modules/@azure/logger/dist/commonjs/package.json
generated
vendored
Normal file
3
backend/node_modules/@azure/logger/dist/commonjs/package.json
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "commonjs"
|
||||
}
|
||||
11
backend/node_modules/@azure/logger/dist/commonjs/tsdoc-metadata.json
generated
vendored
Normal file
11
backend/node_modules/@azure/logger/dist/commonjs/tsdoc-metadata.json
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
||||
// It should be published with your NPM package. It should not be tracked by Git.
|
||||
{
|
||||
"tsdocVersion": "0.12",
|
||||
"toolPackages": [
|
||||
{
|
||||
"packageName": "@microsoft/api-extractor",
|
||||
"packageVersion": "7.52.8"
|
||||
}
|
||||
]
|
||||
}
|
||||
96
backend/node_modules/@azure/logger/dist/esm/index.d.ts
generated
vendored
Normal file
96
backend/node_modules/@azure/logger/dist/esm/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,96 @@
|
||||
/**
|
||||
* The AzureLogger provides a mechanism for overriding where logs are output to.
|
||||
* By default, logs are sent to stderr.
|
||||
* Override the `log` method to redirect logs to another location.
|
||||
*/
|
||||
export declare const AzureLogger: AzureClientLogger;
|
||||
/**
|
||||
* Immediately enables logging at the specified log level. If no level is specified, logging is disabled.
|
||||
* @param level - The log level to enable for logging.
|
||||
* Options from most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
export declare function setLogLevel(level?: AzureLogLevel): void;
|
||||
/**
|
||||
* Retrieves the currently specified log level.
|
||||
*/
|
||||
export declare function getLogLevel(): AzureLogLevel | undefined;
|
||||
/**
|
||||
* Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.
|
||||
* @param namespace - The name of the SDK package.
|
||||
* @hidden
|
||||
*/
|
||||
export declare function createClientLogger(namespace: string): AzureLogger;
|
||||
/**
|
||||
* A log function that can be dynamically enabled and redirected.
|
||||
*/
|
||||
export interface Debugger {
|
||||
/**
|
||||
* Logs the given arguments to the `log` method.
|
||||
*/
|
||||
(...args: any[]): void;
|
||||
/**
|
||||
* True if this logger is active and logging.
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* Used to cleanup/remove this logger.
|
||||
*/
|
||||
destroy: () => boolean;
|
||||
/**
|
||||
* The current log method. Can be overridden to redirect output.
|
||||
*/
|
||||
log: (...args: any[]) => void;
|
||||
/**
|
||||
* The namespace of this logger.
|
||||
*/
|
||||
namespace: string;
|
||||
/**
|
||||
* Extends this logger with a child namespace.
|
||||
* Namespaces are separated with a ':' character.
|
||||
*/
|
||||
extend: (namespace: string) => Debugger;
|
||||
}
|
||||
/**
|
||||
* The log levels supported by the logger.
|
||||
* The log levels in order of most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
export type AzureLogLevel = "verbose" | "info" | "warning" | "error";
|
||||
/**
|
||||
* An AzureClientLogger is a function that can log to an appropriate severity level.
|
||||
*/
|
||||
export type AzureClientLogger = Debugger;
|
||||
/**
|
||||
* Defines the methods available on the SDK-facing logger.
|
||||
*/
|
||||
export interface AzureLogger {
|
||||
/**
|
||||
* Used for failures the program is unlikely to recover from,
|
||||
* such as Out of Memory.
|
||||
*/
|
||||
error: Debugger;
|
||||
/**
|
||||
* Used when a function fails to perform its intended task.
|
||||
* Usually this means the function will throw an exception.
|
||||
* Not used for self-healing events (e.g. automatic retry)
|
||||
*/
|
||||
warning: Debugger;
|
||||
/**
|
||||
* Used when a function operates normally.
|
||||
*/
|
||||
info: Debugger;
|
||||
/**
|
||||
* Used for detailed troubleshooting scenarios. This is
|
||||
* intended for use by developers / system administrators
|
||||
* for diagnosing specific failures.
|
||||
*/
|
||||
verbose: Debugger;
|
||||
}
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
40
backend/node_modules/@azure/logger/dist/esm/index.js
generated
vendored
Normal file
40
backend/node_modules/@azure/logger/dist/esm/index.js
generated
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { createLoggerContext } from "@typespec/ts-http-runtime/internal/logger";
|
||||
const context = createLoggerContext({
|
||||
logLevelEnvVarName: "AZURE_LOG_LEVEL",
|
||||
namespace: "azure",
|
||||
});
|
||||
/**
|
||||
* The AzureLogger provides a mechanism for overriding where logs are output to.
|
||||
* By default, logs are sent to stderr.
|
||||
* Override the `log` method to redirect logs to another location.
|
||||
*/
|
||||
export const AzureLogger = context.logger;
|
||||
/**
|
||||
* Immediately enables logging at the specified log level. If no level is specified, logging is disabled.
|
||||
* @param level - The log level to enable for logging.
|
||||
* Options from most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
export function setLogLevel(level) {
|
||||
context.setLogLevel(level);
|
||||
}
|
||||
/**
|
||||
* Retrieves the currently specified log level.
|
||||
*/
|
||||
export function getLogLevel() {
|
||||
return context.getLogLevel();
|
||||
}
|
||||
/**
|
||||
* Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.
|
||||
* @param namespace - The name of the SDK package.
|
||||
* @hidden
|
||||
*/
|
||||
export function createClientLogger(namespace) {
|
||||
return context.createClientLogger(namespace);
|
||||
}
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
backend/node_modules/@azure/logger/dist/esm/index.js.map
generated
vendored
Normal file
1
backend/node_modules/@azure/logger/dist/esm/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAEhF,MAAM,OAAO,GAAG,mBAAmB,CAAC;IAClC,kBAAkB,EAAE,iBAAiB;IACrC,SAAS,EAAE,OAAO;CACnB,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAsB,OAAO,CAAC,MAAM,CAAC;AAE7D;;;;;;;;GAQG;AACH,MAAM,UAAU,WAAW,CAAC,KAAqB;IAC/C,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC7B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,WAAW;IACzB,OAAO,OAAO,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAAC,SAAiB;IAClD,OAAO,OAAO,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC;AAC/C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createLoggerContext } from \"@typespec/ts-http-runtime/internal/logger\";\n\nconst context = createLoggerContext({\n logLevelEnvVarName: \"AZURE_LOG_LEVEL\",\n namespace: \"azure\",\n});\n\n/**\n * The AzureLogger provides a mechanism for overriding where logs are output to.\n * By default, logs are sent to stderr.\n * Override the `log` method to redirect logs to another location.\n */\nexport const AzureLogger: AzureClientLogger = context.logger;\n\n/**\n * Immediately enables logging at the specified log level. If no level is specified, logging is disabled.\n * @param level - The log level to enable for logging.\n * Options from most verbose to least verbose are:\n * - verbose\n * - info\n * - warning\n * - error\n */\nexport function setLogLevel(level?: AzureLogLevel): void {\n context.setLogLevel(level);\n}\n\n/**\n * Retrieves the currently specified log level.\n */\nexport function getLogLevel(): AzureLogLevel | undefined {\n return context.getLogLevel();\n}\n\n/**\n * Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.\n * @param namespace - The name of the SDK package.\n * @hidden\n */\nexport function createClientLogger(namespace: string): AzureLogger {\n return context.createClientLogger(namespace);\n}\n\n/**\n * A log function that can be dynamically enabled and redirected.\n */\nexport interface Debugger {\n /**\n * Logs the given arguments to the `log` method.\n */\n (...args: any[]): void;\n /**\n * True if this logger is active and logging.\n */\n enabled: boolean;\n /**\n * Used to cleanup/remove this logger.\n */\n destroy: () => boolean;\n /**\n * The current log method. Can be overridden to redirect output.\n */\n log: (...args: any[]) => void;\n /**\n * The namespace of this logger.\n */\n namespace: string;\n /**\n * Extends this logger with a child namespace.\n * Namespaces are separated with a ':' character.\n */\n extend: (namespace: string) => Debugger;\n}\n\n/**\n * The log levels supported by the logger.\n * The log levels in order of most verbose to least verbose are:\n * - verbose\n * - info\n * - warning\n * - error\n */\nexport type AzureLogLevel = \"verbose\" | \"info\" | \"warning\" | \"error\";\n\n/**\n * An AzureClientLogger is a function that can log to an appropriate severity level.\n */\nexport type AzureClientLogger = Debugger;\n\n/**\n * Defines the methods available on the SDK-facing logger.\n */\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport interface AzureLogger {\n /**\n * Used for failures the program is unlikely to recover from,\n * such as Out of Memory.\n */\n error: Debugger;\n /**\n * Used when a function fails to perform its intended task.\n * Usually this means the function will throw an exception.\n * Not used for self-healing events (e.g. automatic retry)\n */\n warning: Debugger;\n /**\n * Used when a function operates normally.\n */\n info: Debugger;\n /**\n * Used for detailed troubleshooting scenarios. This is\n * intended for use by developers / system administrators\n * for diagnosing specific failures.\n */\n verbose: Debugger;\n}\n"]}
|
||||
3
backend/node_modules/@azure/logger/dist/esm/package.json
generated
vendored
Normal file
3
backend/node_modules/@azure/logger/dist/esm/package.json
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "module"
|
||||
}
|
||||
96
backend/node_modules/@azure/logger/dist/react-native/index.d.ts
generated
vendored
Normal file
96
backend/node_modules/@azure/logger/dist/react-native/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,96 @@
|
||||
/**
|
||||
* The AzureLogger provides a mechanism for overriding where logs are output to.
|
||||
* By default, logs are sent to stderr.
|
||||
* Override the `log` method to redirect logs to another location.
|
||||
*/
|
||||
export declare const AzureLogger: AzureClientLogger;
|
||||
/**
|
||||
* Immediately enables logging at the specified log level. If no level is specified, logging is disabled.
|
||||
* @param level - The log level to enable for logging.
|
||||
* Options from most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
export declare function setLogLevel(level?: AzureLogLevel): void;
|
||||
/**
|
||||
* Retrieves the currently specified log level.
|
||||
*/
|
||||
export declare function getLogLevel(): AzureLogLevel | undefined;
|
||||
/**
|
||||
* Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.
|
||||
* @param namespace - The name of the SDK package.
|
||||
* @hidden
|
||||
*/
|
||||
export declare function createClientLogger(namespace: string): AzureLogger;
|
||||
/**
|
||||
* A log function that can be dynamically enabled and redirected.
|
||||
*/
|
||||
export interface Debugger {
|
||||
/**
|
||||
* Logs the given arguments to the `log` method.
|
||||
*/
|
||||
(...args: any[]): void;
|
||||
/**
|
||||
* True if this logger is active and logging.
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* Used to cleanup/remove this logger.
|
||||
*/
|
||||
destroy: () => boolean;
|
||||
/**
|
||||
* The current log method. Can be overridden to redirect output.
|
||||
*/
|
||||
log: (...args: any[]) => void;
|
||||
/**
|
||||
* The namespace of this logger.
|
||||
*/
|
||||
namespace: string;
|
||||
/**
|
||||
* Extends this logger with a child namespace.
|
||||
* Namespaces are separated with a ':' character.
|
||||
*/
|
||||
extend: (namespace: string) => Debugger;
|
||||
}
|
||||
/**
|
||||
* The log levels supported by the logger.
|
||||
* The log levels in order of most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
export type AzureLogLevel = "verbose" | "info" | "warning" | "error";
|
||||
/**
|
||||
* An AzureClientLogger is a function that can log to an appropriate severity level.
|
||||
*/
|
||||
export type AzureClientLogger = Debugger;
|
||||
/**
|
||||
* Defines the methods available on the SDK-facing logger.
|
||||
*/
|
||||
export interface AzureLogger {
|
||||
/**
|
||||
* Used for failures the program is unlikely to recover from,
|
||||
* such as Out of Memory.
|
||||
*/
|
||||
error: Debugger;
|
||||
/**
|
||||
* Used when a function fails to perform its intended task.
|
||||
* Usually this means the function will throw an exception.
|
||||
* Not used for self-healing events (e.g. automatic retry)
|
||||
*/
|
||||
warning: Debugger;
|
||||
/**
|
||||
* Used when a function operates normally.
|
||||
*/
|
||||
info: Debugger;
|
||||
/**
|
||||
* Used for detailed troubleshooting scenarios. This is
|
||||
* intended for use by developers / system administrators
|
||||
* for diagnosing specific failures.
|
||||
*/
|
||||
verbose: Debugger;
|
||||
}
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
40
backend/node_modules/@azure/logger/dist/react-native/index.js
generated
vendored
Normal file
40
backend/node_modules/@azure/logger/dist/react-native/index.js
generated
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
import { createLoggerContext } from "@typespec/ts-http-runtime/internal/logger";
|
||||
const context = createLoggerContext({
|
||||
logLevelEnvVarName: "AZURE_LOG_LEVEL",
|
||||
namespace: "azure",
|
||||
});
|
||||
/**
|
||||
* The AzureLogger provides a mechanism for overriding where logs are output to.
|
||||
* By default, logs are sent to stderr.
|
||||
* Override the `log` method to redirect logs to another location.
|
||||
*/
|
||||
export const AzureLogger = context.logger;
|
||||
/**
|
||||
* Immediately enables logging at the specified log level. If no level is specified, logging is disabled.
|
||||
* @param level - The log level to enable for logging.
|
||||
* Options from most verbose to least verbose are:
|
||||
* - verbose
|
||||
* - info
|
||||
* - warning
|
||||
* - error
|
||||
*/
|
||||
export function setLogLevel(level) {
|
||||
context.setLogLevel(level);
|
||||
}
|
||||
/**
|
||||
* Retrieves the currently specified log level.
|
||||
*/
|
||||
export function getLogLevel() {
|
||||
return context.getLogLevel();
|
||||
}
|
||||
/**
|
||||
* Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.
|
||||
* @param namespace - The name of the SDK package.
|
||||
* @hidden
|
||||
*/
|
||||
export function createClientLogger(namespace) {
|
||||
return context.createClientLogger(namespace);
|
||||
}
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
backend/node_modules/@azure/logger/dist/react-native/index.js.map
generated
vendored
Normal file
1
backend/node_modules/@azure/logger/dist/react-native/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAEhF,MAAM,OAAO,GAAG,mBAAmB,CAAC;IAClC,kBAAkB,EAAE,iBAAiB;IACrC,SAAS,EAAE,OAAO;CACnB,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAsB,OAAO,CAAC,MAAM,CAAC;AAE7D;;;;;;;;GAQG;AACH,MAAM,UAAU,WAAW,CAAC,KAAqB;IAC/C,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC7B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,WAAW;IACzB,OAAO,OAAO,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAAC,SAAiB;IAClD,OAAO,OAAO,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC;AAC/C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createLoggerContext } from \"@typespec/ts-http-runtime/internal/logger\";\n\nconst context = createLoggerContext({\n logLevelEnvVarName: \"AZURE_LOG_LEVEL\",\n namespace: \"azure\",\n});\n\n/**\n * The AzureLogger provides a mechanism for overriding where logs are output to.\n * By default, logs are sent to stderr.\n * Override the `log` method to redirect logs to another location.\n */\nexport const AzureLogger: AzureClientLogger = context.logger;\n\n/**\n * Immediately enables logging at the specified log level. If no level is specified, logging is disabled.\n * @param level - The log level to enable for logging.\n * Options from most verbose to least verbose are:\n * - verbose\n * - info\n * - warning\n * - error\n */\nexport function setLogLevel(level?: AzureLogLevel): void {\n context.setLogLevel(level);\n}\n\n/**\n * Retrieves the currently specified log level.\n */\nexport function getLogLevel(): AzureLogLevel | undefined {\n return context.getLogLevel();\n}\n\n/**\n * Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.\n * @param namespace - The name of the SDK package.\n * @hidden\n */\nexport function createClientLogger(namespace: string): AzureLogger {\n return context.createClientLogger(namespace);\n}\n\n/**\n * A log function that can be dynamically enabled and redirected.\n */\nexport interface Debugger {\n /**\n * Logs the given arguments to the `log` method.\n */\n (...args: any[]): void;\n /**\n * True if this logger is active and logging.\n */\n enabled: boolean;\n /**\n * Used to cleanup/remove this logger.\n */\n destroy: () => boolean;\n /**\n * The current log method. Can be overridden to redirect output.\n */\n log: (...args: any[]) => void;\n /**\n * The namespace of this logger.\n */\n namespace: string;\n /**\n * Extends this logger with a child namespace.\n * Namespaces are separated with a ':' character.\n */\n extend: (namespace: string) => Debugger;\n}\n\n/**\n * The log levels supported by the logger.\n * The log levels in order of most verbose to least verbose are:\n * - verbose\n * - info\n * - warning\n * - error\n */\nexport type AzureLogLevel = \"verbose\" | \"info\" | \"warning\" | \"error\";\n\n/**\n * An AzureClientLogger is a function that can log to an appropriate severity level.\n */\nexport type AzureClientLogger = Debugger;\n\n/**\n * Defines the methods available on the SDK-facing logger.\n */\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport interface AzureLogger {\n /**\n * Used for failures the program is unlikely to recover from,\n * such as Out of Memory.\n */\n error: Debugger;\n /**\n * Used when a function fails to perform its intended task.\n * Usually this means the function will throw an exception.\n * Not used for self-healing events (e.g. automatic retry)\n */\n warning: Debugger;\n /**\n * Used when a function operates normally.\n */\n info: Debugger;\n /**\n * Used for detailed troubleshooting scenarios. This is\n * intended for use by developers / system administrators\n * for diagnosing specific failures.\n */\n verbose: Debugger;\n}\n"]}
|
||||
3
backend/node_modules/@azure/logger/dist/react-native/package.json
generated
vendored
Normal file
3
backend/node_modules/@azure/logger/dist/react-native/package.json
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "module"
|
||||
}
|
||||
113
backend/node_modules/@azure/logger/package.json
generated
vendored
Normal file
113
backend/node_modules/@azure/logger/package.json
generated
vendored
Normal file
@ -0,0 +1,113 @@
|
||||
{
|
||||
"name": "@azure/logger",
|
||||
"sdk-type": "client",
|
||||
"version": "1.3.0",
|
||||
"description": "Microsoft Azure SDK for JavaScript - Logger",
|
||||
"type": "module",
|
||||
"main": "./dist/commonjs/index.js",
|
||||
"types": "./dist/commonjs/index.d.ts",
|
||||
"browser": "./dist/browser/index.js",
|
||||
"react-native": "./dist/react-native/index.js",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"browser": {
|
||||
"types": "./dist/browser/index.d.ts",
|
||||
"default": "./dist/browser/index.js"
|
||||
},
|
||||
"react-native": {
|
||||
"types": "./dist/react-native/index.d.ts",
|
||||
"default": "./dist/react-native/index.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./dist/esm/index.d.ts",
|
||||
"default": "./dist/esm/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/commonjs/index.d.ts",
|
||||
"default": "./dist/commonjs/index.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"files": [
|
||||
"dist/",
|
||||
"!dist/**/*.d.*ts.map",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
"repository": "github:Azure/azure-sdk-for-js",
|
||||
"keywords": [
|
||||
"azure",
|
||||
"log",
|
||||
"logger",
|
||||
"logging",
|
||||
"node.js",
|
||||
"typescript",
|
||||
"javascript",
|
||||
"browser",
|
||||
"cloud"
|
||||
],
|
||||
"author": "Microsoft Corporation",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger/README.md",
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
||||
"build:samples": "echo Obsolete",
|
||||
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"",
|
||||
"clean": "dev-tool run vendored rimraf --glob dist dist-* temp *.tgz *.log",
|
||||
"execute:samples": "echo skipped",
|
||||
"extract-api": "dev-tool run build-package && dev-tool run extract-api",
|
||||
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"",
|
||||
"lint": "eslint package.json src test",
|
||||
"lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]",
|
||||
"pack": "npm pack 2>&1",
|
||||
"test": "npm run test:node && npm run test:browser",
|
||||
"test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser",
|
||||
"test:node": "dev-tool run test:vitest --no-test-proxy",
|
||||
"test:node:esm": "dev-tool run test:vitest --esm --no-test-proxy",
|
||||
"update-snippets": "dev-tool run update-snippets"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typespec/ts-http-runtime": "^0.3.0",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@azure/dev-tool": "^1.0.0",
|
||||
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
||||
"@types/node": "^20.0.0",
|
||||
"@vitest/browser": "^3.0.9",
|
||||
"@vitest/coverage-istanbul": "^3.0.9",
|
||||
"dotenv": "^16.3.1",
|
||||
"eslint": "^9.9.0",
|
||||
"playwright": "^1.41.2",
|
||||
"typescript": "~5.8.2",
|
||||
"vitest": "^3.0.9"
|
||||
},
|
||||
"//metadata": {
|
||||
"migrationDate": "2023-03-08T18:36:03.000Z"
|
||||
},
|
||||
"tshy": {
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"dialects": [
|
||||
"esm",
|
||||
"commonjs"
|
||||
],
|
||||
"esmDialects": [
|
||||
"browser",
|
||||
"react-native"
|
||||
],
|
||||
"selfLink": false,
|
||||
"project": "./tsconfig.src.json"
|
||||
},
|
||||
"module": "./dist/esm/index.js"
|
||||
}
|
||||
Reference in New Issue
Block a user