Skip to content

Commit

Permalink
Merge pull request #25 from DanielaSfregola/#16_update_readme_log_ses…
Browse files Browse the repository at this point in the history
…sion

#16 update readme log session
  • Loading branch information
DanielaSfregola authored Dec 13, 2016
2 parents 143c24d + ef93840 commit ac66209
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ Once you are done, remember to remove the environment variable:
unset RANDOM_DATA_GENERATOR_SEED
```

When a fix seed variable is detected, in the logs you will see something similar to the following:
```bash
[info] [RandomDataGenerator] Variable RANDOM_DATA_GENERATOR_SEED detected: setting seed to -2481216758852790303
```
otherwise, the following message will appear:
```bash
[info] [RandomDataGenerator] No variable RANDOM_DATA_GENERATOR_SEED detected: setting seed to random number
```

Multiple Instances of a Case Class
----------------------------------
Fixing the seed at the beginning of each session has an important side effect: when calling the function `random[T]`, we always get the same instance back.
Expand Down

0 comments on commit ac66209

Please sign in to comment.