@knowark/loggarkjs 0.3.3 → 0.3.5

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +7 -7
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export declare class Logger {
2
- static Logger(): void
2
+ static context(): object | null
3
3
 
4
4
  constructor (dependencies?: {
5
5
  namespace?: string,
@@ -7,15 +7,15 @@ export declare class Logger {
7
7
  global?: object
8
8
  })
9
9
 
10
- context?: object
10
+ context?: object | null
11
11
 
12
- log(...args: string[]): void
12
+ log(...data: any[]): void
13
13
 
14
- error(...args: string[]): void
14
+ error(...data: any[]): void
15
15
 
16
- warn(...args: string[]): void
16
+ warn(...data: any[]): void
17
17
 
18
- info(...args: string[]): void
18
+ info(...data: any[]): void
19
19
 
20
- debug(...args: string[]): void
20
+ debug(...data: any[]): void
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowark/loggarkjs",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Utilitarian Logging Library",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",