Liking cljdoc? Tell your friends :D

debug.macro


defn-groupclj/smacro

(defn-group fn-name & decls)

Wrap function definition console group

use it like this:

-(defn my-function [arg] (do-stuff arg))
+(defn-group my-function [arg] (do-stuff arg))
Wrap function definition console group

use it like this:

```diff
-(defn my-function [arg] (do-stuff arg))
+(defn-group my-function [arg] (do-stuff arg))
```
raw docstring

defn-group-ioclj/smacro

(defn-group-io fn-name & decls)

Wrap function definition console group and log input and output

use it like this:

-(defn my-function [arg] (do-stuff arg))
+(defn-group-io my-function [arg] (do-stuff arg))
Wrap function definition console group and log input and output

use it like this:

```diff
-(defn my-function [arg] (do-stuff arg))
+(defn-group-io my-function [arg] (do-stuff arg))
```
raw docstring

defn-ioclj/smacro

(defn-io fn-name & decls)

Log input and output of a function definition

use it like this:

-(defn my-function [arg] (do-stuff arg))
+(defn-io my-function [arg] (do-stuff arg))
Log input and output of a function definition

use it like this:

```diff
-(defn my-function [arg] (do-stuff arg))
+(defn-io my-function [arg] (do-stuff arg))
```
raw docstring

fn-groupclj/smacro

(fn-group label args & body)

Wrap function console group

use it like this:

-(fn [arg] (do-stuff arg))
+(fn-group "some label to help while debugging" [arg] (do-stuff arg))
Wrap function console group

use it like this:

```diff
-(fn [arg] (do-stuff arg))
+(fn-group "some label to help while debugging" [arg] (do-stuff arg))
```
raw docstring

fn-group-ioclj/smacro

(fn-group-io label args & body)

Wrap function console group and log input and output

use it like this:

-(fn [arg] (do-stuff arg))
+(fn-group-io "some label to help while debugging" [arg] (do-stuff arg))
Wrap function console group and log input and output

use it like this:

```diff
-(fn [arg] (do-stuff arg))
+(fn-group-io "some label to help while debugging" [arg] (do-stuff arg))
```
raw docstring

fn-inputclj/smacro

(fn-input label args & body)

fn-ioclj/smacro

(fn-io label args & body)

Log input and output of a function

use it like this:

-(fn [arg] (do-stuff arg))
+(fn-io "some label to help while debugging" [arg] (do-stuff arg))
Log input and output of a function

use it like this:

```diff
-(fn [arg] (do-stuff arg))
+(fn-io "some label to help while debugging" [arg] (do-stuff arg))
```
raw docstring

fn-outputclj/smacro

(fn-output label args & body)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close