videoLat 2.0
Video conferencing delay measurements
Public Member Functions | Static Public Member Functions | Protected Attributes
EventLogger Class Reference

#import <EventLogger.h>

List of all members.

Public Member Functions

(void) - log:from:timestamp:argument:
(void) - save:
(void) - close
 Stop logging.
(EventLogger *) - init
(uint64_t) - now

Static Public Member Functions

(EventLogger *) + sharedLogger

Protected Attributes

FILE * fp

Detailed Description

Object to created timed log file of low level events.


Member Function Documentation

- (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.
- (void) save: (NSURL *)  file

Start logging.

Parameters:
fileThe URL for the file to which the log should be saved.
+ (EventLogger *) sharedLogger

Return singleton event logger.

Returns:
The singleton event logger.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Properties Defines