You can either manually instantiate a PTLogEntry and add it to the PTLogFactory shared instance or use one of the macros to accomplish the same task.
Example of logging using the PTLogDebug macro:// The following line creates an instance of PTLogEntry with type PTLogEntryDebug, // tag "DEBUG_PLAYBACK", and message "Playback has started". // Then the PTLogEntry is automatically added to the PTLogFactory PTLogDebug(@"[DEBUG_PLAYBACK] Playback has started");