From 8607c1c6dad28dbf53825be2b17945185cf56fe9 Mon Sep 17 00:00:00 2001 From: justinearl Date: Tue, 16 Jul 2024 10:41:57 +0800 Subject: [PATCH] add icon and update readme --- README.md | 22 ++++++++++++++++++++-- assets/images/icon.png | Bin 0 -> 2849 bytes package.json | 1 + 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 assets/images/icon.png diff --git a/README.md b/README.md index 8b70f56..1342ae1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,18 @@ # logviewer README -View JSON like logfile in table format +View JSON like logfile in table format. + +Files that contains logs like this + +```log +{"message": "...", "..."} +{"message": "...", "..."} +{"message": "...", "..."} +{"message": "...", "..."} +``` + +can be viewed in table format + Download the vsix file @@ -17,7 +29,13 @@ code --install-extension logviewer-latest.vsix ## Features -Run command by pressing `Ctrl` + `Shift` + `P` and Type `JSON Log viewer` +- Run command by pressing `Ctrl` + `Shift` + `P` and Type `JSON Log viewer` +- Sort logs by timestamp (or by any columns) by double clicking on a header item +- View the JSON tree by double clicking on row +- Filter specified items (`+`, `-`) +- Toggle column by clicking `+` in JSON tree +- Reorder columns (`<-`) +- Immediately reflect changes on log file ## Development diff --git a/assets/images/icon.png b/assets/images/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..b23a5c5e77e0598c9e8a5b966f5114013d37b24d GIT binary patch literal 2849 zcmYk8c{r3^AIE15V;$KtdM8Yl&_l8`V#v_gCM1&W!OTP>4J!NE*dBvwY>6f%Tl7*R zOA*-_%9dmzk%Y;XBHQ4-=UJ}zxvq2WbDit{{qa5D@8>MZcD5EUq5lYhKp>cvCDtAo zp8`Ez01AA!Ij2tm131v$!W8tR?;snP@RCeyOhBMYnlOjJ2h0VpSh@s)K%#Bj4(1TX?ca-X+O+7hAz+Q&K91v+ZE9Aw`twA_Om9G}FT%^FIbh~!x z+p{HC#iPS!t~hs?GV#2IRA!1)a%>iHzk!mqbOkO+#H(WVqw(^1?)uDlZlBDA-z)hB zRCvI(*~Y-8$fdf_naC&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