Function init__

Initializes global settings of the tracing tool.

  • Parameters

    • params: {
          enabled?: boolean;
          format?: Format;
          multithreading?: boolean;
          stream?: Writable;
      } = {}

      Parameters for initialization.

      • Optionalenabled?: boolean

        If false, it disables processing t__, c__ and d__. Defaults to true.

      • Optionalformat?: Format

        Format object defining the output format. Defaults to DEFAULT_FORMAT.

      • Optionalmultithreading?: boolean

        If true, it prefixes the output with thread_id:.

      • Optionalstream?: Writable

        The output stream to write the output lines. Default process.stdout for node or component and console.debug for browser.

    Returns void