External module chrome/log
Functions
error
- error(msg: string, method?: undefined | string, title?: undefined | string, extra?: undefined | string): void
-
Parameters
-
msg: string
-
Optional method: undefined | string
-
Optional title: undefined | string
-
Optional extra: undefined | string
Returns void
exception
- exception(err: Error | null, msg: string | null, fatal?: undefined | false | true, title?: undefined | string): void
-
Parameters
-
err: Error | null
-
msg: string | null
-
Optional fatal: undefined | false | true
-
Optional title: undefined | string
Returns void
Log a message. Will also store the LastError to chrome storage