@lidofinance/api-logger 0.0.2 → 0.0.3
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/README.md +4 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
# @lidofinance/api-logger
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
API logger, which hides secrets
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
2. `yarn add @lidofinance/api-logger`.
|
|
7
|
+
`yarn add @lidofinance/api-logger`
|
|
9
8
|
|
|
10
9
|
## Getting started
|
|
11
10
|
|
|
12
|
-
You just need to initialize it with secrets you want to hide, usually it's all secrets from `serverRuntimeConfig`
|
|
13
|
-
after that, you are free to use it as regular `console.log`.
|
|
11
|
+
You just need to initialize it with secrets you want to hide, usually it's all secrets from `serverRuntimeConfig` for
|
|
12
|
+
next.js, after that, you are free to use it as regular `console.log`.
|
|
14
13
|
|
|
15
14
|
```ts
|
|
16
15
|
import getConfig from 'next/config';
|