Latest 1.0.2
Homepage https://github.com/annexant-zz/LogContent
License MIT
Platforms ios 10, requires ARC
Authors

To increase convenience of usage, add these lines somewhere in your code:

func logError( error:Error, file: String = #file, line: Int = #line, function: String = #function) {
LogContent(error, file, line, function).logError()
}

func logError( message: String? = nil, error:Error? = nil, file: String = #file, line: Int = #line, _ function: String = #function) {
LogContent(message, error, file, line, function).logError()
}

func logWarning( message: String? = nil, file: String = #file, line: Int = #line, function: String = #function) {
LogContent(message, file, line, function).logWarning()
}

func logInfo( message: String? = nil, file: String = #file, line: Int = #line, function: String = #function) {
LogContent(message, file, line, function).logInfo()
}

Latest podspec

{
    "name": "LogContent",
    "version": "1.0.2",
    "summary": "Powerful logging/tracing instrument.",
    "description": "A powerful configurable log helper, which easy collects and then prints info about function, file, string no, thread, timestamp e.t.c with minimum code typing needed.",
    "homepage": "https://github.com/annexant-zz/LogContent",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Andrey Ostroverkhiy": "[email protected]"
    },
    "platforms": {
        "ios": "10"
    },
    "source": {
        "git": "https://github.com/annexant-zz/LogContent.git",
        "tag": "1.0.2"
    },
    "source_files": [
        "Sources",
        "Sources/Helpers",
        "**/*.{h,m}"
    ],
    "requires_arc": true,
    "swift_version": "5.0"
}

Pin It on Pinterest

Share This