LuaSkinDelegate

Extends Protocol:
NSObject
Declared In:

Introduction

Delegate method for passing control back to the parent environment for environment specific handling. Curerntly only offers support for passing log messages back to the parent environment for display or processing.



Methods

-logForLuaSkinAtLevel:withMessage:

Pass log level and message back to parent for handling and/or display


logForLuaSkinAtLevel:withMessage:


Pass log level and message back to parent for handling and/or display

@optional

- (void)logForLuaSkinAtLevel:(int)level withMessage:(NSString *)theMessage;
Parameters
level

The message log level as an integer. Predefined levels are defined and used within LuaSkin itself as (in decreasing level of severity) LS_LOG_ERROR, LS_LOG_WARN, LS_LOG_INFO, LS_LOG_DEBUG, and LS_LOG_VERBOSE.

theMessage

The text of the message to be logged.

Discussion

If no delegate has been assigned, the message is logged to the system logs via NSLog.