Objective-C API Library Reference  4.3.0-42-g45f162a
 All Classes Functions Typedefs Properties Pages
Public Static Functions | List of all members
PWLog Class Reference

A class to get and set the logging level.

Public Static Functions

(void) + initializeLogging
(int) + logLevel
(void) + setLogLevel:

Methods Descriptions

+ (void) initializeLogging

Initialize the standard logging (i.e. to the TTY)

+ (int) logLevel

Get the current logging level.

+ (void) setLogLevel: (int)  level

Set the current logging level.

Typical usage: [PWLog setLogLevel: PWLogLevelFlagError | PWLogLevelFlagWarn | PWLogLevelFlagInfo];
levelAn integer value representing the log level flags to log