Back

formatter (clj)

(source)

macro

(formatter format-in)
Makes a function which can directly run format-in. The function is fn [stream & args] ... and returns nil unless the stream is nil (meaning output to a string) in which case it returns the resulting string. format-in can be either a control string or a previously compiled format.

Examples

nasa/Common-Metadata-Repository
  It seems that Proto-REPL doesn't support the flexible approach that lein
  uses: any configurable ns can be the starting ns for a REPL. As such, this
  minimal ns was created for Proto-REPL users, so they too can have an env
  that supports startup and shutdown."
  (:require
   [clojure.java.io :as io]
   [clojure.pprint :refer [pprint]]
   [clojure.tools.namespace.repl :as repl]
   [clojusc.twig :as logger]
   [cmr.exchange.geo.dev :as dev]))

(logger/set-level! '[cmr] :debug logger/no-color-log-formatter)
nasa/Common-Metadata-Repository
  It seems that Proto-REPL doesn't support the flexible approach that lein
  uses: any configurable ns can be the starting ns for a REPL. As such, this
  minimal ns was created for Proto-REPL users, so they too can have an env
  that supports startup and shutdown."
  (:require
   [cheshire.core :as json]
   [clojure.java.io :as io]
   [clojure.pprint :refer [pprint]]
   [clojure.tools.namespace.repl :as repl]
   [clojusc.system-manager.core :refer :all]
   [clojusc.twig :as logger]
   [cmr.opendap.dev :as dev]
   [org.httpkit.client :as httpc]))

(logger/set-level! '[cmr org.httpkit] :debug logger/no-color-log-formatter)