@extk/logger-cloudwatch 0.1.0 → 0.1.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.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -3,6 +3,8 @@ import winston from 'winston';
|
|
|
3
3
|
declare const getFileLogger: (name?: string) => winston.Logger;
|
|
4
4
|
declare const getConsoleLogger: () => winston.Logger;
|
|
5
5
|
|
|
6
|
+
type Logger = winston.Logger;
|
|
7
|
+
|
|
6
8
|
type options = {
|
|
7
9
|
aws: {
|
|
8
10
|
region: string;
|
|
@@ -16,4 +18,4 @@ type options = {
|
|
|
16
18
|
};
|
|
17
19
|
declare const getCloudwatchLogger: (opts: options) => winston.Logger;
|
|
18
20
|
|
|
19
|
-
export { getCloudwatchLogger, getConsoleLogger, getFileLogger };
|
|
21
|
+
export { type Logger, getCloudwatchLogger, getConsoleLogger, getFileLogger };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import winston from 'winston';
|
|
|
3
3
|
declare const getFileLogger: (name?: string) => winston.Logger;
|
|
4
4
|
declare const getConsoleLogger: () => winston.Logger;
|
|
5
5
|
|
|
6
|
+
type Logger = winston.Logger;
|
|
7
|
+
|
|
6
8
|
type options = {
|
|
7
9
|
aws: {
|
|
8
10
|
region: string;
|
|
@@ -16,4 +18,4 @@ type options = {
|
|
|
16
18
|
};
|
|
17
19
|
declare const getCloudwatchLogger: (opts: options) => winston.Logger;
|
|
18
20
|
|
|
19
|
-
export { getCloudwatchLogger, getConsoleLogger, getFileLogger };
|
|
21
|
+
export { type Logger, getCloudwatchLogger, getConsoleLogger, getFileLogger };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extk/logger-cloudwatch",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -32,5 +32,6 @@
|
|
|
32
32
|
"type": "git",
|
|
33
33
|
"url": "https://github.com/sergeytangyan/extk-logger",
|
|
34
34
|
"directory": "packages/cloudwatch"
|
|
35
|
-
}
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/sergeytangyan/extk-logger/tree/main/packages/cloudwatch#readme"
|
|
36
37
|
}
|