Options
All
  • Public
  • Public/Protected
  • All
Menu

External module chrome/log

Log a message. Will also store the LastError to chrome storage

Index

Functions

Functions

error

  • error(msg: string, method?: undefined | string, title?: undefined | string, extra?: undefined | string): void
  • Log an error

    Parameters

    • msg: string

      override label

    • Optional method: undefined | string

      override action

    • Optional title: undefined | string

      a title for the error

    • Optional extra: undefined | string

      extra info. for analytics

    Returns void

exception

  • exception(err: Error | null, msg: string | null, fatal?: undefined | false | true, title?: undefined | string): void
  • Log an exception

    Parameters

    • err: Error | null

      the exception

    • msg: string | null

      the error message

    • Optional fatal: undefined | false | true

      true if fatal

    • Optional title: undefined | string

      a title for the exception

    Returns void

Generated using TypeDoc