Swift logging library
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Archeota
Graphics
.gitignore
.travis.yml
LICENSE
README.md

README.md

> A SWIFT LOGGER

Archeota: Keeper of the archives

Carthage compatible Build Status

Download

Carthage

github "RedRoma/Archeota"

API

The Archeota Logger can be accessed by importing the Archeota package.

import Archeota

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.")

Settings

Log Level

You can adjust the Log Level by tuning the LOG.level enum. 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")

The default LogLevel is .info.