PlayerIO

The fastest way to build online games without breaking a sweat.

Objective-C Client Reference

Multiplayer  class documentationClass PIOErrorLog

Language: Objective-C

The Player.IO ErrorLog service.

Methods

 
- (void)
writeError:
Writes an entry to the error log
- (void)
writeError:details:stacktrace:
Writes an entry to the error log
- (void)
writeError:details:stacktrace:extraData:
Writes an entry to the error log
- (void)
writeError:errorObj:
Writes an entry to the error log
- (void)
writeError:exception:
Writes an entry to the error log

writeError:

Writes an entry to the error log

Arguments

NSString* error
A short string describing the error without details. Example 'Object not set to instance of an object'

writeError:details:stacktrace:

Writes an entry to the error log

Arguments

NSString* error
A short string describing the error without details. Example 'Object not set to instance of an object'
NSString* details
The message describing the error in detail. Example 'couldn't find the user 'bob' in the current game'
NSString* stacktrace
The stacktrace (if available) of the error

writeError:details:stacktrace:extraData:

Writes an entry to the error log

Arguments

NSString* error
A short string describing the error without details. Example 'Object not set to instance of an object'
NSString* details
The message describing the error in detail. Example 'couldn't find the user 'bob' in the current game'
NSString* stacktrace
The stacktrace (if available) of the error
NSDictionary* extraData
Any extra data you'd like to associate with the error log entry

writeError:errorObj:

Writes an entry to the error log

Arguments

NSString* error
A short string describing the error without details. Example 'Object not set to instance of an object'
NSError* errorObj
An NSError object with more information about the error

writeError:exception:

Writes an entry to the error log

Arguments

NSString* error
A short string describing the error without details. Example 'Object not set to instance of an object'
NSException* exception
An NSException object with more information about the error