kodi
Public Member Functions | Public Attributes | List of all members
python.xbmcclient.PacketLOG Class Reference
Inheritance diagram for python.xbmcclient.PacketLOG:
Inheritance graph
[legend]
Collaboration diagram for python.xbmcclient.PacketLOG:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, loglevel=0, logmessage="", autoprint=True)
 
- Public Member Functions inherited from python.xbmcclient.Packet
def __init__ (self)
 
def append_payload (self, blob)
 
def set_payload (self, payload)
 
def num_packets (self)
 
def get_header (self, packettype=-1, seq=1, maxseq=1, payload_size=0)
 
def get_payload_size (self, seq)
 
def get_udp_message (self, packetnum=1)
 
def send (self, sock, addr, uid=UNIQUE_IDENTIFICATION)
 

Public Attributes

 packettype
 
- Public Attributes inherited from python.xbmcclient.Packet
 sig
 
 minver
 
 majver
 
 seq
 
 maxseq
 
 payloadsize
 
 uid
 
 reserved
 
 payload
 

Detailed Description

A LOG packet

A LOG packet tells XBMC to log the message to xbmc.log with the loglevel as specified.

Constructor & Destructor Documentation

◆ __init__()

def python.xbmcclient.PacketLOG.__init__ (   self,
  loglevel = 0,
  logmessage = "",
  autoprint = True 
)
Keyword arguments:
loglevel -- the loglevel, follows XBMC standard.
logmessage -- the message to log
autoprint -- if the logmessage should automatically be printed to stdout

The documentation for this class was generated from the following file: