diff --git a/Sources/Scribe/Scribe.swift b/Sources/Scribe/Scribe.swift index 6c13e97..7a1e4b4 100644 --- a/Sources/Scribe/Scribe.swift +++ b/Sources/Scribe/Scribe.swift @@ -14,6 +14,13 @@ open class Scribe: Pluginable { public let metadata: Metadata? /// The source of the log event. public let source: String? + + init(level: Level, message: Message, metadata: Metadata?, source: String?) { + self.level = level + self.message = message + self.metadata = metadata + self.source = source + } } /// An alias Logger.Level.