Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #16 from zsstrehli/master
Browse files Browse the repository at this point in the history
be more open
  • Loading branch information
nilsvu committed Jan 15, 2017
2 parents 985d619 + 1f2bd4b commit d36903e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Sources/Evergreen/Handler.swift
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public struct Record: CustomStringConvertible {

open class Handler {

public var logLevel: LogLevel?
public var formatter: Formatter
open var logLevel: LogLevel?
open var formatter: Formatter

public init(formatter: Formatter) {
self.formatter = formatter
Expand Down
22 changes: 11 additions & 11 deletions Sources/Evergreen/Logger.swift
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -564,19 +564,19 @@ public func < (lhs: LogLevel, rhs: LogLevel) -> Bool {
public struct Event<M> {

/// The logger that originally logged the event
let logger: Logger
public let logger: Logger
/// The log message
let message: () -> M
public let message: () -> M
/// An error that occured alongside the event
let error: Error?
public let error: Error?
/// The log level. A logger will only log events with equal or higher log levels than its own. Events that don't specify a log level will always be logged.
let logLevel: LogLevel?
let date: Date
let elapsedTime: TimeInterval?
let once: Bool

let function: String
let file: String
let line: Int
public let logLevel: LogLevel?
public let date: Date
public let elapsedTime: TimeInterval?
public let once: Bool

public let function: String
public let file: String
public let line: Int

}

0 comments on commit d36903e

Please sign in to comment.