A cross platform tool to read & query JSON aka CLEF log files created by Serilog
Releases are available on this GitHub Repository along on the Windows Store
You will need the following installed:
- node/npm
- .NET Core SDK 2.2+
For OSX & Windows you can download the SDK here or install Visual Studio for Mac/Windows which includes the dotnet
CLI tool
https://dotnet.microsoft.com/download
https://visualstudio.microsoft.com/vs/
- Clone Repo
- Open terminal in root of project
dotnet publish --runtime osx-x64 --output bin/dist/osx --configuration release -p:PublishSingleFile=true
generates a self contained application for our WebAPIdotnet publish --runtime win-x64 --output bin/dist/win --configuration release -p:PublishSingleFile=true
same but creates the Windows version- Change terminal directory to
LogViewer.Client
folder npm install
tsc --watch
This will compile the TypeScript files & continue to watch them- Open a new terminal in
LogViewer.Client
npm run start
Will run the Electron app for development with Chrome DevTools open/launched
Note: If you
npm run start
before you have compiled the TypeScript files then Electron will complain about not finding the entry point file. Additionally if you have also not rundotnet publish
then the underlying WebAPI which we communicate with will not be running.
This package uses the following libraries:
- Serilog.Formatting.Compact.Reader
- Serilog.Filters.Expressions
- Serilog.Sinks.File