Latest 0.0.6
Homepage https://github.com/ccworld1000/CCLog
License GPL
Platforms ios 4.0, osx 10.7, watchos 2.0, tvos 9.0, requires ARC
Frameworks Foundation
Authors

CCLog

Simple and lightweight cross-platform logs,
easy-to-use simple learning,
and support for multiple languages,
such as C, C++, Perl 6, shell, Objective-C
support ios, osx, watchos, tvos
support pod, cocoapods https://cocoapods.org/pods/CCLog

Perl 6

There are 2 (CCLog & CCLogFull) ways of binding.

Call CCLog.pm6

short_perl6

Call CCLogFull.pm6

full_perl6

Shell

Provide simple commands. fg: 
    ccnormal
    ccwarning
    ccerror
    cctimer
    ccloop
    ccthread
    ccprint
    ccsay
    ccdie
    ccnetwork

These commands are automatically installed locally and can be called directly.

Call shell

shell

C && C++ && Objective-C

You can use C library or C source (CCLog.h CCLog.c) code directly.

Call C && C++ && Objective-C

c

Objective-C

Objective-C can call C directly, Or follow other ways to import.
or use pod https://github.com/ccworld1000/CCLog

pod 'CCLog'

Local installation and unloading

zef install .
zef uninstall CCLog

Network install

zef update
zef install CCLog

Check if the installation is successful

The installation may be as follows

check_ok

Installation failure may be as follows, you can try again

check_error

Color display control

Perl6 CCLog.pm6 call ccshowColor
Perl6 CCLogFull.pm6 call CCLog_showColor
C && C++ && Objective-C call CCLog_showColor
fg:

colorControl

Tips display control

fg:

logTips

Display log control

fg:

displayLog

Latest podspec

{
    "name": "CCLog",
    "version": "0.0.6",
    "summary": "CCLog : Simple and lightweight cross-platform logs, support for multiple languages.",
    "description": "CCLog Simple and lightweight cross-platform logs,neasy-to-use simple learning,nand support for multiple languages,nsuch as C, C++, Perl 6, shell, Objective-Cnsupport ios, osx, watchos, tvos, pod",
    "homepage": "https://github.com/ccworld1000/CCLog",
    "screenshots": "https://raw.githubusercontent.com/ccworld1000/CCLog/master/CCLog/doc/sceenshot/shell.png",
    "license": {
        "type": "GPL",
        "file": "LICENSE"
    },
    "authors": {
        "cc": "[email protected]"
    },
    "platforms": {
        "ios": "4.0",
        "osx": "10.7",
        "watchos": "2.0",
        "tvos": "9.0"
    },
    "source": {
        "git": "https://github.com/ccworld1000/CCLog.git",
        "tag": "0.0.6"
    },
    "source_files": [
        "CCLog/include/*.h",
        "CCLog/src/CCLog.c"
    ],
    "exclude_files": "Classes/Exclude",
    "resources": "LICENSE",
    "frameworks": "Foundation",
    "requires_arc": true
}

Pin It on Pinterest

Share This