UNPKG
@enonic/mock-xp
Version:
latest (1.1.0-B4)
1.1.0-B4
1.1.0-B3
1.1.0-B2
1.1.0-B1
1.0.0
1.0.0-RC1
1.0.0-B1
0.10.0
0.9.1
0.9.0
0.8.1
0.8.0
0.7.0
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.1
0.3.0
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
Mock Enonic XP API JavaScript Library
@enonic/mock-xp
/
dist
/
implementation
/
Log.d.ts
9 lines
(8 loc)
•
279 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
type
{
Log
as
LogType
}
from
'../types'
;
export
type
LogLevel
=
'silent'
|
'error'
|
'warn'
|
'info'
|
'debug'
;
export
declare
class
Log
{
static
colorize
(
a
:
unknown
[]):
string
[];
static
createLogger
({ loglevel }?: {
loglevel
:
LogLevel
; }):
LogType
; }