Skip to content

Commit

Permalink
Update the SHA in the README to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
vedang committed Dec 15, 2024
1 parent 5d7b9e3 commit 7cc2065
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ This is a `deps-new` template which creates a logger component that I use in my

To install this code, run the following command inside your project

$ clojure -Sdeps '{:deps {io.github.vedang/clj-logging {:git/sha "e009d366c827705f513ef9018ffd920a49ce19da"}}}' -Tnew create :template me.vedang/logger :name your.group.artifact/logger
```bash
clojure -Sdeps '{:deps {io.github.vedang/clj-logging {:git/sha "5d7b9e3f3ddd8693f89e77484ae97615a90d89ba"}}}' -Tnew create :template me.vedang/logger :name your.group.artifact/logger
```

Note: The command above assumes you have installed `deps-new` as your `new` "tool" via:

Expand All @@ -29,6 +31,8 @@ This is create a folder called `logger`. To use this folder, you can add an alia
"-Dlogging.level=DEBUG"]}
```

Now, you can `require` the `namespace` `your.group.artifact.logger.interface` everywhere in your project, and use the macros defined in it. This namespace is a thin wrapper on top of the `pedestal.log` logging library to ensure structured logging (JSON) output.

## Developing the template

Run this template project's tests (by default, this just validates your template's `template.edn`
Expand Down

0 comments on commit 7cc2065

Please sign in to comment.