Skip to content

Latest commit

 

History

History

debugging

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Debugging

There are 3 levels of console logs in Abstract Layer.

  • Debug: Logs out everything that Abstract Layer is doing under the hood.

Example: <DEBUG> [AbstractLayer/URL] http://localhost:8888/v3/getNearbyProducts

  • Error: Only logs out errors.

Example: <ERROR> [AbstractLayer/CollectionView] Could not connect to the server.

  • Nothing: Logs out nothing

Set your debug level in your info.plist by adding Abstract Layer key, followed by Log key with one of the above values. (Case insensitive)

Debug

This is the raw value:

<key>Abstract Layer</key>
<dict>
    <key>Log</key>
    <string>Debug</string>
</dict>