videoLat  2.1
Video conferencing delay measurements
Instance Methods | Class Methods | Protected Attributes | List of all members
EventLogger Class Reference

#import <EventLogger.h>

Inheritance diagram for EventLogger:
Inheritance graph
[legend]
Collaboration diagram for EventLogger:
Collaboration graph
[legend]

Instance Methods

(void) - log:from:timestamp:argument:
 
(void) - save:
 
(void) - close
 Stop logging.
 

Class Methods

(EventLogger *) + sharedLogger
 

Protected Attributes

FILE * fp
 

Detailed Description

Object to created timed log file of low level events.

Method Documentation

◆ log:from:timestamp:argument:()

- (void) log: (NSString *)  event
from: (NSString *)  module
timestamp: (uint64_t)  timestamp
argument: (NSString *)  argument 

Log an event.

Parameters
eventTextual representation of what happened.
moduleName of the module that generated to log message.
timestampAn optional timestamp (in microseconds) coresponding to this event.
argumentAn optional string that gives more information about the event.

◆ save:()

- (void) save: (NSURL *)  file

Start logging.

Parameters
fileThe URL for the file to which the log should be saved.

◆ sharedLogger()

+ (EventLogger *) sharedLogger

Return singleton event logger.

Returns
The singleton event logger.

The documentation for this class was generated from the following files: