Swiftpack.co - Package - oleander/logger-swift

Logger

Printscreen

Swift log library

Example

import Logger

// Optional, default level: .info
let log = Logger(.info)

log.info("This is info")
log.warn("This is warn")
log.error("This is error")
log.debug("This is debug")

Install

// swift-tools-version:4.0
import PackageDescription

let package = Package(
  name: "YOUR_PROJECT_NAME",
  dependencies: [
    .package(url: "https://github.com/oleander/swift-logger.git", .branch("master")),
  ]
)

Github

link
Stars: 0
Help us keep the lights on

Used By

Total: 1