import ParameterTypes from "@site/src/components/ParameterTypes"

# Logger

## Properties

<ParameterTypes parameters={[
  {
    "name": "activity",
    "type": "(`message`: `string`, `config?`: `any`) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "debug",
    "type": "(`message`: `any`) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "error",
    "type": "(`messageOrError`: `any`, `error?`: `any`) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "failure",
    "type": "(`activityId`: `any`, `message`: `any`) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "info",
    "type": "(`message`: `any`) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "log",
    "type": "(...`args`: `any`[]) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "panic",
    "type": "(`data`: `any`) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "progress",
    "type": "(`activityId`: `any`, `message`: `any`) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "setLogLevel",
    "type": "(`level`: `string`) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "shouldLog",
    "type": "(`level`: `string`) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "success",
    "type": "(`activityId`: `any`, `message`: `any`) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "unsetLogLevel",
    "type": "() => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "warn",
    "type": "(`message`: `any`) => `void`",
    "description": "",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />
