Skip to content

Commit

Permalink
Merge pull request Michael-F-Bryan#107 from szabgab/logging
Browse files Browse the repository at this point in the history
explain how to turn on logging (Michael-F-Bryan#101)
  • Loading branch information
blandger authored May 22, 2024
2 parents c007c83 + fe6cfa1 commit 0dafc69
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,23 @@ no-section-label = true
curly-quotes = true
```

## Logging, seeing progress

In order to enable logging to the screen you need to set the `RUST_LOG` environment variable to `debug` or `info`.

On Linux and macOS this can be done in the following way:

```
RUST_LOG=debug mdbook-epub
```

On Windows CMD you need to set it on a separate line:

```
set RUST_LOG=debug
mdbook-epub
```


## Planned Features

Expand Down

0 comments on commit 0dafc69

Please # to comment.