Message
public struct Message : ExpressibleByStringLiteral, Equatable, CustomStringConvertible, ExpressibleByStringInterpolation
Logger.Message represents a log message’s text. It is usually created using string literals.
Example creating a Logger.Message:
let world: String = "world"
let myLogMessage: Logger.Message = "Hello \(world)"
Most commonly, Logger.Messages appear simply as the parameter to a logging method such as:
logger.info("Hello \(world)")
-
Declaration
Swift
public typealias StringLiteralType = String -
Declaration
Swift
public init(stringLiteral value: String) -
Declaration
Swift
public var description: String { get }
View on GitHub
Install in Dash
Message Structure Reference