Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvisa committed Jul 10, 2014
1 parent 26793a8 commit 2e15347
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions README.md
Expand Up @@ -98,20 +98,14 @@ iex(4)> Code.compiler_options exlager_truncation_size: 512
ok
```

If you are mix user you could specify level and truncation_size in mix.exs as follows:
If you are mix user you could specify level and truncation_size in *config/config.#{Mix.env}.exs* as follows:

```
def project do
your_options = []
[
...
elixirc_options: your_options ++ options(Mix.env)
]
end
use Mix.Config
defp options(env) when env in [:dev, :test] do
[exlager_level: :debug, exlager_truncation_size: 8096]
end
config :exlager,
level: :debug,
truncation_size: 8096
```


0 comments on commit 2e15347

Please sign in to comment.