README
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
image i_raw_github_com_ccworld1000_cclog_master_cclog_doc_sceenshot_short_perl6_png not found
Call CCLogFull.pm6
image i_raw_github_com_ccworld1000_cclog_master_cclog_doc_sceenshot_full_perl6_png not found
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
image i_raw_github_com_ccworld1000_cclog_master_cclog_doc_sceenshot_shell_png not found
C && C++ && Objective-C
You can use C library or C source (CCLog.h CCLog.c) code directly.
Call C && C++ && Objective-C
image i_raw_github_com_ccworld1000_cclog_master_cclog_doc_sceenshot_c_png not found
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
image i_raw_github_com_ccworld1000_cclog_master_cclog_doc_sceenshot_check_ok_png not found
Installation failure may be as follows, you can try again
image i_raw_github_com_ccworld1000_cclog_master_cclog_doc_sceenshot_check_error_png not found
Color display control
Perl6 CCLog.pm6 call ccshowColor Perl6 CCLogFull.pm6 call CCLog_showColor C && C++ && Objective-C call CCLog_showColor fg:
image i_raw_github_com_ccworld1000_cclog_master_cclog_doc_sceenshot_colorcontrol_png not found
Tips display control
fg:
image i_raw_github_com_ccworld1000_cclog_master_cclog_doc_sceenshot_logtips_png not found
Display log control
fg: