Skip Navigation

Configure selective logging for the
Xcode
console

If there are multiple
Info.plist
files, check that you are editing the correct one by opening the Info tab of the app target being built to make sure the new settings are there.
As with detailed logging, the console will only include log messages that are not in any of the categories specified in the
Info.plist
.
To set the target’s activity logging configuration to print a selection of message categories, do the following:
  1. Open the app
    Info.plist
    file.
  2. Add a row with GDConsoleLogger as its key or change the existing row as follows:
    1. Set
      Array
      as the type of the logger row.
    2. For each category you don’t want to include, add a row under the logger row as an item in the logger’s array.
    3. Set the item to type
      String
      .
    4. Set the value to one of the following:
      • GDFilterDetailed
      • GDFilterInfo
      • GDFilterWarnings
      • GDFilterErrors