VLCKit
Instance Methods | Properties | List of all members
<VLCLogMessageFormatting> Protocol Reference

Protocol implemented by any object that may format log messages with their context \discussion Its use is optional for any custom logger implementation but is actually being used in VLCKit loggers. More...

#import <VLCLogging.h>

Inheritance diagram for <VLCLogMessageFormatting>:
VLCLogMessageFormatter

Instance Methods

(NSString *) - formatWithMessage:logLevel:context:
 The implementation should convert log infos to a string that will be used by a logger \discussion This must be implemented by any formatter to be called each time a logger handles a message.
 

Properties

VLCLogContextFlag contextFlags
 Enable/disable logging context options. More...
 
id customContext
 Custom infos that might be appended to log messages. \discussion Ideally the customContext object should respond to the description selector in order to return a NSString More...
 

Detailed Description

Protocol implemented by any object that may format log messages with their context \discussion Its use is optional for any custom logger implementation but is actually being used in VLCKit loggers.

See also
VLCFormattedMessageLogging

Property Documentation

◆ contextFlags

- (VLCLogContextFlag) contextFlags
readwritenonatomicassign

Enable/disable logging context options.

See also
VLCLogContextFlag

◆ customContext

- (id) customContext
readwritenonatomicassign

Custom infos that might be appended to log messages. \discussion Ideally the customContext object should respond to the description selector in order to return a NSString

Note
A description method implementation is expected by VLCLogMessageFormatter

The documentation for this protocol was generated from the following file: