# wx.LogTextCtrl¶

Using these target all the log messages can be redirected to a text control.

The text control must have been created with TE_MULTILINE style by the caller previously.

wx.TextCtrl, StreamToTextRedirector

## Class Hierarchy¶

Inheritance diagram for class LogTextCtrl:

## Methods Summary¶

 __init__ Constructs a log target which sends all the log messages to the given text control.

## Class API¶

class wx.LogTextCtrl(Log)

Possible constructors:

LogTextCtrl(pTextCtrl)


Using these target all the log messages can be redirected to a text control.

### Methods¶

__init__(self, pTextCtrl)

Constructs a log target which sends all the log messages to the given text control.

The textctrl parameter cannot be None.

Parameters

pTextCtrl (wx.TextCtrl) –