1.1.3 • Published 2 years ago
atrace-sdk v1.1.3
atrace-sdk / Exports
atrace-sdk
Table of contents
Functions
Functions
log
▸ log(type?
, category?
, err
, instance?
, baseLogPath?
): void
Parameters
Name | Type | Default value |
---|---|---|
type | LogType | 'error' |
category | string | 'system' |
err | Error & Object | undefined |
instance | string | 'heimao-novel-pc' |
baseLogPath | string | '../../../../logs' |
Returns
void
Defined in
index.ts:10
trace
▸ trace(c
, event?
): Promise<unknown>
Parameters
Name | Type | Default value |
---|---|---|
c | TraceData | undefined |
event | string | 'app_crash' |
Returns
Promise<unknown>
Defined in
index.ts:5