https://github.com/sunng87/debug
Clojure port of nodejs debug
https://github.com/sunng87/debug
Last synced: 10 months ago
JSON representation
Clojure port of nodejs debug
- Host: GitHub
- URL: https://github.com/sunng87/debug
- Owner: sunng87
- License: epl-1.0
- Created: 2014-07-04T21:33:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-04T22:11:28.000Z (over 11 years ago)
- Last Synced: 2024-10-06T04:41:19.023Z (over 1 year ago)
- Language: Clojure
- Homepage:
- Size: 148 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# debug
A Clojure clone of node [debug](https://github.com/visionmedia/debug) utility.
## Usage
### Leiningen

### Code
```clojure
(ns user)
(require '[debug.core :refer [debug]])
(debug "anything you would like to print... %s" "format string supported")
```
Run the code with environment `DEBUG` set to comma separated
namespaces, e.g. `DEBUG=user`, so you can see the log. Wildcard `*` is
supported for namespace pattern.
## License
Copyright © 2014 Sun Ning
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.