ConstThe log message.
Log a message at the Strophe.LOG_LEVELS.ERROR level.
The log message.
Log a message at the Strophe.LOG_LEVELS.FATAL level.
The log message.
Log a message at the Strophe.LOG_LEVELS.INFO level.
The log message.
Please note that data sent and received over the wire is logged via Strophe.Connection#rawInput|Strophe.Connection.rawInput() and Strophe.Connection#rawOutput|Strophe.Connection.rawOutput().
The different levels and their meanings are
DEBUG - Messages useful for debugging purposes. INFO - Informational messages. This is mostly information like 'disconnect was called' or 'SASL auth succeeded'. WARN - Warnings about potential problems. This is mostly used to report transient connection errors like request timeouts. ERROR - Some error occurred. FATAL - A non-recoverable fatal error occurred.
The log level of the log message. This will be one of the values in Strophe.LOG_LEVELS.
The log message.
Library consumers can use this function to set the log level of Strophe. The default log level is Strophe.LogLevel.INFO.
Log a message at the Strophe.LOG_LEVELS.WARN level.
The log message.
Log a message at the Strophe.LOG_LEVELS.DEBUG level.