But also tried Ougai logger, that has formatter class. But doesn't define info and error classes in formatter, yeat, it's defined in a Ougai::Logger class instead.
Would you be interested in improving compatibility with non-rails loggers? I'm considering forking this and trying to get it to work with Ougai, but not sure if you want me to bring these changes to original repo.
This looks like an awesome project and interesting approach to data obfuscation in logs. Thank you for sharing it publically!
I tried it out in a non-rails environment (sinatra) and was unable to use it. I've ran into following errors:
I used it with standard ruby Logger class, that doesn't have a formatter class.
But also tried Ougai logger, that has formatter class. But doesn't define
info
anderror
classes in formatter, yeat, it's defined in a Ougai::Logger class instead.Would you be interested in improving compatibility with non-rails loggers? I'm considering forking this and trying to get it to work with Ougai, but not sure if you want me to bring these changes to original repo.