@azure/synapse-monitoring 1.0.0-alpha.20230224.1 → 1.0.0-alpha.20230303.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -8
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1541,7 +1541,7 @@ if (logLevelFromEnv) {
|
|
|
1541
1541
|
}
|
|
1542
1542
|
}
|
|
1543
1543
|
/**
|
|
1544
|
-
* Immediately enables logging at the specified log level.
|
|
1544
|
+
* Immediately enables logging at the specified log level. If no level is specified, logging is disabled.
|
|
1545
1545
|
* @param level - The log level to enable for logging.
|
|
1546
1546
|
* Options from most verbose to least verbose are:
|
|
1547
1547
|
* - verbose
|
|
@@ -1601,12 +1601,7 @@ function createLogger(parent, level) {
|
|
|
1601
1601
|
return logger;
|
|
1602
1602
|
}
|
|
1603
1603
|
function shouldEnable(logger) {
|
|
1604
|
-
|
|
1605
|
-
return true;
|
|
1606
|
-
}
|
|
1607
|
-
else {
|
|
1608
|
-
return false;
|
|
1609
|
-
}
|
|
1604
|
+
return Boolean(azureLogLevel && levelMap[logger.level] <= levelMap[azureLogLevel]);
|
|
1610
1605
|
}
|
|
1611
1606
|
function isAzureLogLevel(logLevel) {
|
|
1612
1607
|
return AZURE_LOG_LEVELS.includes(logLevel);
|
|
@@ -2166,7 +2161,7 @@ function setPlatformSpecificData(map) {
|
|
|
2166
2161
|
|
|
2167
2162
|
// Copyright (c) Microsoft Corporation.
|
|
2168
2163
|
// Licensed under the MIT license.
|
|
2169
|
-
const SDK_VERSION = "1.10.
|
|
2164
|
+
const SDK_VERSION = "1.10.3";
|
|
2170
2165
|
const DEFAULT_RETRY_POLICY_COUNT = 3;
|
|
2171
2166
|
|
|
2172
2167
|
// Copyright (c) Microsoft Corporation.
|