Interface Console

The Console module outputs messages to IINA's log system. The log can be found in Console.app or Xcode's console (if you are running a debug build from Xcode); However, it is recommended to use IINA's Log Window to view the logs conveniently. Furthermore, the JS DevTool provided under Plugin - Developer Tool provides an interactive console.

The log is also written to the log files, if the user has enabled logging. Therefore, it is recommended to use this module to output debug messages and ask users to provide the log files when reporting bugs.

Available In Entry

Main and Global

Hierarchy

  • Console

Methods

Methods

  • Log to IINA's log system with the debug log level.

    Parameters

    • Rest ...message: any[]

      The message to log. It will be converted to a string if it is not a string.

    Returns void

  • Log to IINA's log system with the warning log level.

    Parameters

    • message: any

      The message to log. It will be converted to a string if it is not a string.

    Returns void

  • Log to IINA's log system with the error log level.

    Parameters

    • message: any

      The message to log. It will be converted to a string if it is not a string.

    Returns void

Generated using TypeDoc