Coder Social home page Coder Social logo

log's Introduction

Log

Console.log with style

THIS REPO IS FORKED FROM git://github.com/adamswartz/log.git THANKS @copyright adamswartz!

Features

  • Safely call log (instead of console.log) in any browser.
  • Use markdown syntax for quick formatting:
    • italiclog('this is *italic*')
    • boldlog('this word _bold_')
    • codelog('this word `code`')
    • * - italic
    • _ - bold
    • - - bold & italic
    • <B> - blue
    • <C> - cyan
    • <G> - green
    • <R> - rad
    • <Y> - yellow
    • <*B> - blue & italic
    • <*C> - cyan & italic
    • <*G> - green & italic
    • <*R> - rad & italic
    • <*Y> - yellow & italic
    • <_B> - blue & bold
    • <_C> - cyan & bold
    • <_G> - green & bold
    • <_R> - rad & bold
    • <_Y> - yellow & bold
    • <-B> - blue & bold & italic
    • <-C> - cyan & bold & italic
    • <-G> - green & bold & italic
    • <-R> - rad & bold & italic
    • <-Y> - yellow & bold & italic
  • Use a custom syntax to style text however you want: log('this is [c="color: red"]red[c]').

Can not be used nested

Support

Stylized logs are supported in the following browsers:

  • Chrome 26+
  • Firefox 31+ or with Firebug 1.11 beta 2 or later
  • Opera with Blink (15+)
  • Safari Nightly (537.38+)

Screenshot

Implementations

log's People

Contributors

adamschwartz avatar orlowang avatar alessioalex avatar vlado avatar fjorgemota avatar kkirsche avatar patrickjs avatar rodneyrehm avatar

Watchers

 avatar

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.