Giter Site home page Giter Site logo

ccworld1000 / cclog Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 673 KB

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

Home Page: https://github.com/ccworld1000/CCLog

License: GNU General Public License v2.0

C 23.19% Makefile 2.86% Shell 5.40% Raku 68.55%
c perl perl6 shell shell-script log cclog say print objective-c cross-platform cplusplus debug color-theme ios osx watchos tvos raku perl6-module

cclog's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.