We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:align
I was playing around with writing a custom printer for debug logging. My document looks something like
[:group (when ns-symb [:span ns-symb [:text " "]]) (into [:align] forms)]
If I print this with :print-meta false things align the way I'd like:
:print-meta
honeysql2 Compiling Honey SQL 2 with options {:dialect :toucan2.test/current-db.dialect, :quoted true, :quoted-snake true} honeysql2 => ["SELECT * FROM \"PEOPLE\" WHERE \"NAME\" = ?" "Cam"] pipeline In toucan2.pipeline/transduce-execute with dispatch value [:toucan.query-type/select.instances :toucan2.test/people :toucan.map-backend/honeysql2] pipeline Execute ["SELECT * FROM \"PEOPLE\" WHERE \"NAME\" = ?" "Cam"]
However if I enable :print-meta anything with metadata is printed at the beginning of the line, not respecting the :indent:
:indent
honeysql2 Compiling Honey SQL 2 with options {:dialect :toucan2.test/current-db.dialect, :quoted true, :quoted-snake true} honeysql2 => ["SELECT * FROM \"PEOPLE\" WHERE \"NAME\" = ?" "Cam"] pipeline In toucan2.pipeline/transduce-execute with dispatch value [:toucan.query-type/select.instances :toucan2.test/people :toucan.map-backend/honeysql2] pipeline Execute ^{:type :toucan.map-backend/honeysql2, :toucan2.pipeline/parsed-args {}} ["SELECT * FROM \"PEOPLE\" WHERE \"NAME\" = ?" "Cam"]
Not sure if it makes a difference but I was using the colorized printer.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I was playing around with writing a custom printer for debug logging. My document looks something like
If I print this with
:print-meta
false things align the way I'd like:However if I enable
:print-meta
anything with metadata is printed at the beginning of the line, not respecting the:indent
:Not sure if it makes a difference but I was using the colorized printer.
The text was updated successfully, but these errors were encountered: