BaseDestination
open class BaseDestination: Hashable
Generic Log Output Destination Model
-
Denotes the format of the log
See moreDeclaration
Swift
public enum OutputFormat
-
Show the date and time in the log output
Declaration
Swift
public var showDateTime = true
-
Configure the DateFormat
Declaration
Swift
public var dateFormat = "HH:mm:ss.SSS"
-
Configure the timezone for the DateFormat
Declaration
Swift
public var timeZone: TimeZone? = TimeZone(abbreviation: "UTC")
-
Displays the textual representation of the log level in the log output
Ex.
Warning
Declaration
Swift
public var showLogLevel = true
-
Displays the Log Level Emoji Indicator in the log output
Ex. ⚠️
Declaration
Swift
public var showLogLevelEmoji = true
-
Display the file name in the log output
Declaration
Swift
public var showFileName = true
-
Display the line number in the log output
Declaration
Swift
public var showLineNumber = true
-
Display the function name in the log output
Declaration
Swift
public var showFunctionName = true
-
Denotes the minimum logging level
Declaration
Swift
public var minLevel = LogLevel.defaultLevel
-
Executes logger on
Juliet
serial background thread for better performanceDeclaration
Swift
open var asynchronously = true
-
The output logger format
Declaration
Swift
public var outputFormat = OutputFormat.plaintext
-
Default Initializer. Creates new
DispatchQueue
Declaration
Swift
public init()
-
Hash value used for Hashable protocol
Declaration
Swift
lazy public var hashValue: Int = self.defaultHashValue
-
Hash value used for Hashable protocol
Declaration
Swift
open var defaultHashValue: Int
-
Used for Equitable protocol
Declaration
Swift
public static func ==(lhs: BaseDestination, rhs: BaseDestination) -> Bool