Wp.LogTopic

Fields

Name

Type

Access

Description

flags

Wp.LogTopicFlags

r/w

topic_name

str

r/w

Methods

init ()

register ()

unregister ()

Details

class Wp.LogTopic

A structure representing a log topic.

init()

Initializes a log topic. Internal function, don’t use it directly.

register()

Registers a log topic.

The log topic must be unregistered using Wp.LogTopic.unregister before its lifetime ends. This function is threadsafe.

unregister()

Unregisters a log topic.

This function is threadsafe.