CCLog 0.0.6

CCLog 0.0.6

ai mac 维护。




CCLog 0.0.6

  • 作者
  • cc

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.cn/pods/CCLog

Perl 6

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

调用 CCLog.pm6

short_perl6

调用 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.

调用 shell

shell

C && C++ && Objective-C

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

调用 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'

本地安装和卸载

zef install .
zef uninstall CCLog

网络安装

zef update
zef install CCLog

检查安装是否成功

安装可能会是这样的

check_ok

安装失败可能是这样的,您可以再试一次

check_error

颜色显示控制

Perl6 CCLog.pm6 调用 ccshowColor Perl6 CCLogFull.pm6 调用 CCLog_showColor C && C++ && Objective-C 调用 CCLog_showColor fg

colorControl

提示显示控制

fg

logTips

显示日志控制

fg

displayLog