Kodi Development  20.0
for Binary and Script based Add-Ons
WsgiErrorStream

Detailed Description

Represents the wsgi.errors stream to write error messages.

Class: WsgiErrorStream()

This implementation writes the error messages to the application's log file.


Function Documentation

◆ flush()

flush ( )

Function: flush()


Since nothing is buffered this is a no-op.

◆ write()

write (   ...)

Function: write(str)


Writes the given error message to the application's log file.

Parameters
strA string to save in log file
Note
A trailing \n is removed.

◆ writelines()

writelines (   ...)

Function: writelines(seq)


Joins the given list of error messages (without any separator) into a single error message which is written to the application's log file.

Parameters
seqA list of strings which will be logged.