- Add an ability to insert Lamian's middleware inside the rails initialization process manually (
Lamian.config.middleware_autoset = true/false
) - Drop EOL rubies from CI;
- Minimal Ruby version: 3.1;
- Add
max_log_lines
config option to limit number of most recent log lines stored in the log device
- Minor dependency updates;
- Add support for the (new sentry gem)[https://github.com/getsentry/sentry-ruby].
- Add
raven_log_size_limit
config option for limiting amount of data sent to sentry (defaults to500_000
)
- Add support for sentry and sidekiq
6d8fee8
fixed a bug when ::Logger#log was not prepended.::Logger#log
is an alias for::Logger#add
, which ruins concept of single entry point :(. Also tied it to lamian instance
8136689
fixed crashes when dump used outside lamian context
e57e6cec
Changed rails dependency from~> 4.2
to>= 4.2
- 34ca83b5 Fixed formatting
Stabilized formatting api, which removes control sequences from loggers data.
E.g. "[23mNice, lol[0m\n"
becomes "Nice, lol\n"
d24f895b
API update
Updated API, so lamian is now forced to be used with block. It also simplified usage outside a middleware
3166517e
Added integrtation with rails
Injected middleware before ExceptionNotification
, so ExceptionNotification
can use current log without any configuration. Also added some views
62eb8685
Made test version to check it's integration with rails application