Closed TwP closed 7 years ago
Seems like a nice API to me. Thank you!
Sad that it has taken this long to respond, but...
C:\work\VSO\vso\logs>cat rails_vso.log [ALWAYS][2018-01-09T14:25:31][/work/VSO/vso/lib/logging/logging.rb][158] Logging started!
It works perfectly! Thanks!
This PR adds a
basepath
configuration for the Logging framework. When call tracing is enabled for log events, the reported filenames will be relative to thisbasepath
setting.Now for your Rails project, all filenames are relative to that path. Messages will contain filenames like this
app/model/user.rb
instead of the longer/home/sally/projects/rails_app/app/model/user.rb
.fixes #126
/cc @cshupp1 and @vanso-hubsi since you both might have some thoughts on the approach taken here