dotfiles/dot_config/fish/private_functions/kjsonlogs.fish

4 lines
131 B
Fish
Raw Normal View History

2022-03-21 08:20:30 +01:00
function kjsonlogs
klogs $argv -o raw | jq -r -R 'fromjson? | select(type == "object") | "\(.time) \(.levelname) \(.message)"'
end