Quiero usar este post para agradecerle a Andrew Schleifer por dos cambios que realizo en el repositorio de OGLogger.

Les copio sus comentarios de github:
1) Add framework target to projectThis commit adds a framework target, so the logger can be used without compiling the classes directly into an application. Rather, you can add the framework to the bundle instead.

2) Enable setting log level when configured from dictionary or fileFor example, you can add the object @”OGLogLevelDebug” with the key @”OGLoggerLogLevel” for a class — like this:

  1. <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  2. <plist version="1.0"><dict>
  3.     <key>default</key>
  4.     <dict>
  5.         <key>OGLoggerClass</key>
  6.         <string>OGLogger</string>
  7.         <key>OGLoggerLogLevel</key>
  8.         <string>OGLogLevelDebug</string>
  9.         <key>OGLoggerOutputClass</key>
  10.         <string>OGLoggerOutputConsole</string>
  11.         <key>OGLoggerOutputContext</key>
  12.         <string>Sóltano</string>
  13.     </dict>
  14. </dict>
  15. </plist>