Fork me on GitHub

CCLog Simple and lightweight cross-platform logs

CCLog

1
2
3
4
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

##

Perl 6

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

Call CCLog.pm6

short_perl6

Call CCLogFull.pm6

full_perl6

##

Shell

1
2
3
4
5
6
7
8
9
10
11
12
13
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

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

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

##

Objective-C

1
Objective-C can call C directly, Or follow other ways to import.

##

Local installation and unloading

1
2
zef install .
zef uninstall CCLog

##

Network install

1
2
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