Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxLogNull (3erl)

Name

wxLogNull - Functions for wxLogNull class

Synopsis

Please see following description for synopsis

Description

wxLogNull(3)               Erlang Module Definition               wxLogNull(3)



NAME
       wxLogNull - Functions for wxLogNull class

DESCRIPTION
       This  class allows you to temporarily suspend logging. All calls to the
       log functions during the life time of an object of this class are  just
       ignored.

       In  particular,  it  can  be used to suppress the log messages given by
       wxWidgets itself but it should be noted that it is rarely the best  way
       to  cope  with this problem as all log messages are suppressed, even if
       they indicate a completely different error than the one the  programmer
       wanted to suppress.

       For instance, the example of the overview:

       would be better written as:

       wxWidgets docs: wxLogNull

DATA TYPES
       wxLogNull() = wx:wx_object()

EXPORTS
       new() -> wxLogNull()

              Suspends logging.

       destroy(This :: wxLogNull()) -> ok

              Resumes logging.



wxWidgets team.                    wx 2.1.1                       wxLogNull(3)