-
Notifications
You must be signed in to change notification settings - Fork 0
LogType
Egor Badmaev edited this page Dec 5, 2022
·
4 revisions
Enumeration that represents different types of logs. It has 3 cases:
The informative log level.
case info = "ℹ️ INFO"
The warning log level.
case warning = "⚠️ WARNING"
The error log level.
case error = "❗️ERROR"
This enumeration is being used in another enumeration Logger
:
- Method
log
: to define what log level to print - Method
createLog
: to print its'rawValue