CrossClj

0.1.34 docs

SourceDocs



RECENT

    io.aviso/pretty

    Clojars

    Jun 28, 2017


    OWNER
    Aviso/Novate
    Killorglin, Ireland
    info@aviso.io
    www.aviso.io

    Readme

    Index of all namespaces


    « Project + dependencies

    Clojure library to help print things, prettily

    io.aviso.clipboardDocsSource
    Utilities for accessing text on the system clipboard using AWT.
    
    This is segregated from other code to prevent the AWT stack from initializaing
    unnecessarily. On OS X, this is seen as a Java application icon appearing in the Dock
    io.aviso.columnsDocsSource
    Assistance for formatting data into columns. Each column has a width, and data within the column
    may be left or right justified. Generally, columns are sized to the largest item in the column.
    When a value is provided in a column, it may be associated with an explicit width which is helpful
    when the value contains non-printing characters (such as those defined in the io.aviso.ansi namespace).
    io.aviso.loggingDocsSource
    Provides functions that hook into clojure.tools.logging to make use of Pretty to format exceptions.
    
    You must [add clojure.tools.logging as an explicit dependency](https://github.com/clojure/tools.logging) of your project.
    io.aviso.writerDocsSource
    The StringWriter protocol is used as the target of any written output.
    
    pretty.pluginDocsSource
    A plugin for Leiningen that automatically enables pretty printing.
    
    The README below is fetched from the published project artifact. Some relative links may be broken.

    Clojars Project

    Sometimes, neatness counts.

    If you are trying to puzzle out a stack trace, pick a critical line of text out of a long stream of console output, or compare two streams of binary data, a little bit of formatting can go a long way.

    That’s what io.aviso/pretty is for. It adds support for pretty output where it counts:

    • Readable output for exceptions
    • ANSI font and background color support
    • Hex dump of binary data
    • Hex dump of binary deltas
    • Formatting data into columns

    Example

    Full Documentation

    Pretty is also incorporated into the ultra plugin, and is packaged as part of Boot.


    io.aviso/pretty is released under the terms of the Apache Software License 2.0.