Latest 1.2
License MIT
Platforms ios 9.2
Dependencies XCGLogger

NGLoggerKit is a logger aggregator, with the possibility to add new output sources (files, remotes…) without having to go through all your app. It is designed to scale across large applications.



github "Nuglif/NGLoggerKit"


pod 'NGLoggerKit', '~> 0.1'

Getting Started

How to use

let logger = LoggerBuilder().buildDefault(subSystem: "Sample")

subsystem is a user defined string describing which system is using the logger; larger apps can be composed of multiple subsystems each using a different logger (network module, ui module, persistence module, app module…).

And later you can use your new logger like this:, "Hello world!")

2019-01-25 12:49:43.328314-0500 LoggerKit_Sample[70549:2430806] [Audio] Hello world!

SampleCategory is a user defined Category responding to LoggerKit’s Category protocol.

Provided Loggers


Prints to the system Console and XCode console using os.log API (available iOS 10.0). It is the default logger on iOS 10.0.


Prints to XCode console. It is the default logger on iOS 9.0


Add your own logger


Latest podspec

    "name": "NGLoggerKit",
    "version": "1.2",
    "summary": "Logging system customizable and flex",
    "description": "This logging library enable you to easily manage your logging systems. It also provides a default implementation which use XCGLogger as file logger and Apple's oslog for console logging.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Team Nuglif": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.2"
    "platforms": {
        "ios": "9.2"
    "swift_version": "5.0",
    "module_name": "LoggerKit",
    "exclude_files": "LoggerKit_Sample/*",
    "public_header_files": [
    "source_files": [
    "dependencies": {
        "XCGLogger": []

Pin It on Pinterest

Share This