@enonic-types/core 8.1.1 → 8.1.2
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/index.d.ts +7 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -90,6 +90,13 @@ export interface DoubleUnderscore {
|
|
|
90
90
|
registerMock: (name: string, value: object) => void
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
/**
|
|
94
|
+
* Logger of the current application.
|
|
95
|
+
*
|
|
96
|
+
* The message may contain `%s` placeholders, filled by the arguments that follow it.
|
|
97
|
+
* Objects and arrays are written as JSON.
|
|
98
|
+
* An exception passed as the last argument is logged with its stack trace.
|
|
99
|
+
*/
|
|
93
100
|
export interface Log {
|
|
94
101
|
/**
|
|
95
102
|
* Log debug message.
|