struct Jennifer::Adapter::DBFormatter

Overview

Default log formatter

2020-10-11T12:13:14.424770Z DEBUG - db: 500.736 μs SELECT COUNT(*) FROM users WHERE users.role = $1 | ["admin"]

Defined in:

jennifer/adapter/db_formatter.cr

Instance Method Summary

Instance Method Detail

def run #
Description copied from struct Log::StaticFormatter

Subclasses must implement this method to define the output pattern


[View source]