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
How it used to work:
tarantool> require('log').info('%s', {foo = 'bar'}) table: 0x41f9d2e8
How it works now:
tarantool> require('log').info('%s', {foo = 'bar'}) {"foo":"bar"}
Note, JSON encoding is enabled only for tables that don't have the __tostring meta-method:
__tostring
tarantool> require('log').info('%s', setmetatable({foo = 'bar'}, {__tostring = function() return 'foobar' end})) foobar
Requested by @locker in tarantool/tarantool@3db73c6.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How it used to work:
How it works now:
Note, JSON encoding is enabled only for tables that don't have
the
__tostring
meta-method:Requested by @locker in tarantool/tarantool@3db73c6.
The text was updated successfully, but these errors were encountered: