mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-04-27 14:57:40 +00:00
commit
9b8ac7db5b
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ The `FilterParameters` logger will filter out sensitive parameters from your log
|
||||||
|
|
||||||
### Logging to file and STDOUT
|
### Logging to file and STDOUT
|
||||||
|
|
||||||
You can to file and STDOUT at the same time, you just need to assign new logger
|
You can log to file and STDOUT at the same time, you just need to assign new logger
|
||||||
|
|
||||||
log_file = File.open('path/to/your/logfile.log', 'a')
|
log_file = File.open('path/to/your/logfile.log', 'a')
|
||||||
log_file.sync = true
|
log_file.sync = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue