Logger

The Logger class provides a standardized way to log error, warning, or info messages. Trace the code execution and identify error or debug.

Use this signature to define the Logger class.

Use the message parameter to log an informational message by using this resource and signature.

info

Use the message parameter to log a debug message by using this resource and signature.

debug(_:)

Use the message parameter to log an error message by using this resource and signature.

error(_:)

Use the message parameter to log a faulty message by using this resource and signature.

fault(_:)