Add global method to set logger closure

Add information into README.md
This commit is contained in:
phimage
2015-12-15 16:05:24 +01:00
parent 7a76f714c4
commit 304380a9ac
2 changed files with 17 additions and 2 deletions

View File

@@ -234,6 +234,11 @@ The `debugEnabled` configuration is useful for testing how your review prompt po
GETTER: Armchair.debugEnabled() -> Bool
SETTER: Armchair.debugEnabled(debugEnabled: Bool)
##### Logging
Armchair allows you to set a closure to capture debug log and to plug in the desired logging framework.
Armchair.logger(logger: ArmchairLogger)
##### iOS Only Configuration
These configuration functions only make sense for iOS builds due to their dependency on iOS-only frameworks and functions.