Gjsify LogoGjsify Logo

Hierarchy

  • LogFunc

Callable

  • LogFunc(logDomain: string, logLevel: LogLevelFlags, message: string): void
  • Specifies the prototype of log handler functions.

    The default log handler, g_log_default_handler(), automatically appends a new-line character to message when printing it. It is advised that any custom log handler functions behave similarly, so that logging calls in user code do not need modifying to add a new-line character to the message if the log handler is changed.

    This is not used if structured logging is enabled; see [Using Structured Logging][using-structured-logging].

    Parameters

    • logDomain: string

      the log domain of the message

    • logLevel: LogLevelFlags

      the log level of the message (including the fatal and recursion flags)

    • message: string

      the message to process

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method