Swiftpack.co - Package - RedRoma/Archeota

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

Github

link
Stars: 1

Dependencies

Used By

Total: 0

Releases

v1.5 -

v1.4 -

v1.3 -

v1.2 -

v1.1 -

v1.0 -