Swiftpack.co - Package - necatievrenyasar/EvrLogger

EvrLogger

Build Status

Provides a lightweight logging implementation for Swift which logs to standard output.

Usage

Add dependencies

Add the EvrLogger package to the dependencies within your application’s Package.swift file. Substitute "x.x.x" with the latest EvrLooger release.

.package(url: "github.com/necatievrenyasar/EvrLogger.git", from: "x.x.x")

Add EvrLogger to your target's dependencies:

.target(name: "example", dependencies: ["EvrLogger"]),

Import packages

To use with EvrLogger:

import EvrLogger

Initialize EvrLogger

To use EvrLogger as a logging, you must create Global variable in your project. We suggest that variable name is Log:

let Log = EvrLogger()

Usage

Log.d("Write something")

Logging levels

You will see output of that level, and all levels below that.

  1. d (Debug)
  2. e (Error)
  3. i (Info)

Github

link
Stars: 3
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

1.0.0 - Oct 4, 2019

Release to SPM

0.01 - Oct 4, 2019

First Release