Skip to content
Andrew De Ponte edited this page Oct 19, 2016 · 1 revision

Available Since v3.0.0

Togls optionally supports application controlled logging. What this means is that it allows the application using the togls gem to pass in the logger that has been configured with its level, etc. in the application. This would look as follows in the application using togls:

Togls.logger my_application_logger

The above will cause togls to log its messages to the applications logger. If the application does NOT do the above, togls simply won't log its messages.