Jun 28, 2017
Index of all namespaces
Clojure library to help print things, prettily
Help with generating textual output that includes ANSI escape codes for formatting.
B black black-bg black-bg-font black-font blue blue-bg blue-bg-font blue-font bold bold-black bold-black-bg bold-black-bg-font bold-black-font bold-blue bold-blue-bg bold-blue-bg-font bold-blue-font bold-cyan bold-cyan-bg bold-cyan-bg-font bold-cyan-font bold-font bold-green bold-green-bg bold-green-bg-font bold-green-font bold-magenta bold-magenta-bg bold-magenta-bg-font bold-magenta-font bold-red bold-red-bg bold-red-bg-font bold-red-font bold-white bold-white-bg bold-white-bg-font bold-white-font bold-yellow bold-yellow-bg bold-yellow-bg-font bold-yellow-font
Utilities for formatting binary data (byte arrays) or binary deltas.
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
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).
Format and present exceptions in a pretty (structured, formatted) way.
*default-frame-filter* *default-frame-rules* *fonts* *traditional* ?reverse analyze-exception apply-frame-filter apply-rule clojure->java convert-to-clojure current-dir-prefix demangle empty-stack-trace-warning exception-dispatch expand-exception expand-stack-trace expand-stack-trace-element format-exception format-property-value length match-keys match-mangled preformat-stack-frame strip-prefix update-keys wrap-exception write-exception write-stack-trace
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.
Utilities to assist with REPL-oriented development
The StringWriter protocol is used as the target of any written output.
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
io.aviso/pretty is released under the terms of the Apache Software License 2.0.