The iOS framework that grows only as fast as its documentation
NIOverviewLogger Class Reference

Overview

The Overview logger.

This object stores all of the historical information used to draw the graphs in the Overview memory and disk pages, as well as the console log page.

The primary log should be accessed by calling [NIOverview logger].

Tasks

Configuration Settings
NSTimeInterval oldestLogAge property
 
(NIOverviewLogger *) + sharedLogger
 
Accessing Logs
NSMutableOrderedSet * deviceLogs property
 
NSMutableOrderedSet * consoleLogs property
 
NSMutableOrderedSet * eventLogs property
 
Adding Log Entries
(void) - addDeviceLog:
 
(void) - addConsoleLog:
 
(void) - addEventLog:
 

Method Documentation

oldestLogAge

The oldest age of a memory or disk log entry.

@property (nonatomic) NSTimeInterval oldestLogAge;
Discussion

Log entries older than this number of seconds will be pruned from the log.

By default this is 1 minute.

deviceLogs

The linked list of device logs.

@property (nonatomic, readonly, strong) NSMutableOrderedSet* deviceLogs;
Discussion

Log entries are in increasing chronological order.

consoleLogs

The linked list of console logs.

@property (nonatomic, readonly, strong) NSMutableOrderedSet* consoleLogs;
Discussion

Log entries are in increasing chronological order.

eventLogs

The linked list of events.

@property (nonatomic, readonly, strong) NSMutableOrderedSet* eventLogs;
Discussion

Log entries are in increasing chronological order.

addDeviceLog:

Add a device log.

- (void)addDeviceLog:(NIOverviewDeviceLogEntry *)logEntry;
Discussion

This method will first prune expired entries and then add the new entry to the log.

addConsoleLog:

Add a console log.

- (void)addConsoleLog:(NIOverviewConsoleLogEntry *)logEntry;
Discussion

This method will not prune console log entries.

addEventLog:

Add a event log.

- (void)addEventLog:(NIOverviewEventLogEntry *)logEntry;
Discussion

This method will first prune expired entries and then add the new entry to the log.