NextGIS Frontend
Preparing search index...
@nextgis/logging
NgLogEngine
Class NgLogEngine<D>
Type Parameters
D
=
null
Implements
LogEngine
<
D
>
Index
Constructors
constructor
Properties
client
Id
delay
enabled
nglog
Url
ngw
Connector
session
Id
stop
On
Connection
Error?
Methods
critical
debug
destroy
error
info
log
warning
Constructors
constructor
new
NgLogEngine
<
D
=
null
>
(
options
:
NgLogEngineOptions
)
:
NgLogEngine
<
D
>
Type Parameters
D
=
null
Parameters
options
:
NgLogEngineOptions
Returns
NgLogEngine
<
D
>
Properties
client
Id
clientId
:
string
delay
delay
:
number
= ...
enabled
enabled
:
boolean
= true
nglog
Url
nglogUrl
:
string
= 'https://nglog.nextgis.com'
ngw
Connector
ngwConnector
:
default
= ...
session
Id
sessionId
:
NgLogEngineSessionId
<
D
>
= 8
Add
sessionId
to each log. Use number to set random generated string length
Optional
stop
On
Connection
Error
stopOnConnectionError
?:
false
Methods
critical
critical
(
message
:
string
,
options
?:
LogShortcutOptions
<
D
>
)
:
void
Parameters
message
:
string
Optional
options
:
LogShortcutOptions
<
D
>
Returns
void
debug
debug
(
message
:
string
,
options
?:
LogShortcutOptions
<
D
>
)
:
void
Parameters
message
:
string
Optional
options
:
LogShortcutOptions
<
D
>
Returns
void
destroy
destroy
()
:
void
Returns
void
error
error
(
message
:
string
,
options
?:
LogShortcutOptions
<
D
>
)
:
void
Parameters
message
:
string
Optional
options
:
LogShortcutOptions
<
D
>
Returns
void
info
info
(
message
:
string
,
options
?:
LogShortcutOptions
<
D
>
)
:
void
Parameters
message
:
string
Optional
options
:
LogShortcutOptions
<
D
>
Returns
void
log
log
(
message
:
string
,
options
?:
LogOptions
<
D
>
)
:
void
Parameters
message
:
string
options
:
LogOptions
<
D
>
= {}
Returns
void
warning
warning
(
message
:
string
,
options
?:
LogShortcutOptions
<
D
>
)
:
void
Parameters
message
:
string
Optional
options
:
LogShortcutOptions
<
D
>
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
client
Id
delay
enabled
nglog
Url
ngw
Connector
session
Id
stop
On
Connection
Error
Methods
critical
debug
destroy
error
info
log
warning
NextGIS Frontend
Loading...
Add
sessionId
to each log. Use number to set random generated string length