Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sap-cloud-sdk/util

Package Overview
Dependencies
Maintainers
6
Versions
2446
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-cloud-sdk/util - npm Package Compare versions

Comparing version 1.18.2-alpha.13 to 1.18.2-alpha.19

2

dist/logger/cloud-sdk-logger.d.ts

@@ -48,3 +48,3 @@ import { Logger } from 'winston';

* Change the log level of a logger based on its message context.
* E. g., to set the log level for the destination accessor module of the SDK to _debug_, simply call `setLogLevel('debug', 'destination-acessor')`.
* E. g., to set the log level for the destination accessor module of the SDK to _debug_, simply call `setLogLevel('debug', 'destination-accessor')`.
* @param level - level to set the logger to

@@ -51,0 +51,0 @@ * @param messageContextOrLogger - Message context of the logger to change the log level for or the logger itself

@@ -107,3 +107,3 @@ "use strict";

* Change the log level of a logger based on its message context.
* E. g., to set the log level for the destination accessor module of the SDK to _debug_, simply call `setLogLevel('debug', 'destination-acessor')`.
* E. g., to set the log level for the destination accessor module of the SDK to _debug_, simply call `setLogLevel('debug', 'destination-accessor')`.
* @param level - level to set the logger to

@@ -110,0 +110,0 @@ * @param messageContextOrLogger - Message context of the logger to change the log level for or the logger itself

{
"name": "@sap-cloud-sdk/util",
"version": "1.18.2-alpha.13+3715853",
"version": "1.18.2-alpha.19+3cb32de",
"description": "SAP Cloud SDK for JavaScript general utilities",

@@ -45,3 +45,3 @@ "homepage": "https://community.sap.com/topics/cloud-sdk",

},
"gitHead": "371585311c8ed4ac19c6759e7f428a9e83b87d38"
"gitHead": "3cb32de106667546afd4dfe9fbd247b43222912e"
}

@@ -1,6 +0,24 @@

# cloud-sdk-utils
<a href="https://sap.com/s4sdk"><img src="https://help.sap.com/doc/2324e9c3b28748a4ae2ad08166d77675/1.0/en-US/logo-with-js.svg" alt="SAP Cloud SDK for JavaScript Logo" height="122.92" width="226.773"/></a>
# @sap-cloud-sdk/util
Package that contains general utility functions that we reuse multiple times in the SDK.
While primarily designed for internal usage, they might also be benefical for consumers of the SDK.
While primarily designed for internal usage, they might also be beneficial for consumers of the SDK.
### Installation
```
$ npm install @sap-cloud-sdk/util
```
### Usage
The util package collects useful tools that help build your SAP Cloud Platform application.
For example, the following code snippet changes the log level of the destination accessor of the SDK.
```
import { setLogLevel } from '@sap-cloud-sdk/util';
setLogLevel('debug', 'destination-accessor');
```
### Api documentation
https://sap.github.io/cloud-sdk/api/
### Helpful Links

@@ -7,0 +25,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc