> A SWIFT LOGGER
Archeota: Keeper of the archives
The Archeota Logger can be accessed by importing the Archeota package.
From there, interact with the
LOG object to print messages.
LOG.debug("Debug messages are verbose messages useful for debugging") LOG.info("Info messages are for FYI-level messages") LOG.warn("Warn messages are for errors and weird situations that does not adversely impact the user experience") LOG.error("Error messages are the most severe messages, and represent messages that affect the user's experience.")
You can adjust the Log Level by tuning the
The Logger will ignore messages that are below this level.
LOG.level = .warn LOG.info("Info and Debug messages are ignored") LOG.warn("Warn and Error messages are printed")