Sha256: e9d06ef914a3a79d79ef11435a20436eb6bd633117ea83026232a42ffaf0defc

Contents?: true

Size: 500 Bytes

Versions: 83

Compression:

Stored size: 500 Bytes

Contents

# ANSI::Logger

Require the ANSI::Logger library.

    require 'ansi/logger'

Create a new ANSI::Logger

    log = ANSI::Logger.new(STDOUT)

Info logging appears normal.

    log.info{"Info logs are green.\n"}

Warn logging appears yellow.

    log.warn{"Warn logs are yellow.\n"}

Debug logging appears cyan.

    log.debug{"Debug logs are cyan.\n"}

Error logging appears red.

    log.error{"Error logs are red.\n"}

Fatal logging appears bright red.

    log.fatal{"Fatal logs are bold red!\n"}

Version data entries

83 entries across 41 versions & 13 rubygems

Version Path
paynow_sdk-1.0.4 vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-1.0.4 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-1.0.3 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-1.0.3 vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-1.0.2 vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-1.0.2 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-1.0.1 vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-1.0.1 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-1.0.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-1.0.0/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-1.0.0 vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-0.2.0 vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-0.2.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-0.2.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.9/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-0.2.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.9/vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-0.2.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-0.2.0 vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.9/vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-0.1.9 vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-0.1.9 vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
paynow_sdk-0.1.9 vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/paynow_sdk-0.1.8/vendor/cache/ruby/2.7.0/gems/ansi-1.5.0/demo/03_logger.md
josufst_palindrome-0.2.0 vendor/cache/gems/ansi-1.5.0/demo/03_logger.md