Skip to content

Commit

Permalink
[PR #22] Fixed casing of ExecutionMethod enums within example project.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejensen authored and cnoon committed Feb 27, 2017
1 parent 6244b5e commit 0bc7e0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Example/Frameworks/Database/Logger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public var log: Logger! = {

let modifiers: [LogLevel: [LogMessageModifier]] = [.all: [PrefixModifier(), TimestampModifier()]]
let queue = DispatchQueue(label: "com.nike.database.logger.queue", qos: .utility)
let configuration = LoggerConfiguration(modifiers: modifiers, executionMethod: .Asynchronous(queue: queue))
let configuration = LoggerConfiguration(modifiers: modifiers, executionMethod: .asynchronous(queue: queue))

return Logger(configuration: configuration)
}()
2 changes: 1 addition & 1 deletion Example/Frameworks/Network/Logger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public var log: Logger = {

let modifiers: [LogLevel: [LogMessageModifier]] = [.all: [PrefixModifier(), TimestampModifier()]]
let queue = DispatchQueue(label: "com.nike.network.logger.queue", qos: .utility)
let configuration = LoggerConfiguration(modifiers: modifiers, executionMethod: .Asynchronous(queue: queue))
let configuration = LoggerConfiguration(modifiers: modifiers, executionMethod: .asynchronous(queue: queue))

return Logger(configuration: configuration)
}()
4 changes: 2 additions & 2 deletions Example/iOS Example/WillowConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ struct WillowConfiguration {
let executionMethod: LoggerConfiguration.ExecutionMethod

if asynchronous {
executionMethod = .Synchronous(lock: NSRecursiveLock())
executionMethod = .synchronous(lock: NSRecursiveLock())
} else {
executionMethod = .Asynchronous(
executionMethod = .asynchronous(
queue: DispatchQueue(label: "com.nike.example.logger", qos: .utility)
)
}
Expand Down

0 comments on commit 0bc7e0b

Please sign in to comment.