Closed frextrite closed 5 years ago
A big PR with 13 commits.
Changes:
CodeAnalysisLog
(modelling log objects), DeserializeLogFromJson
(class used to parse JSON and get log objects, helper of gsonbuilder), CodeAnalysisLogDeserializer
(the main abstraction) and updated corresponding test class CodeAnalysisLogDeserializerTest
CodeAnalysisLogPrinter
responsible for printing log objects to the console. Other affected classes: CodeAnalysisRunner
(print the cmd run statement), CodeAnalysisTask
is the main calling class for the project, responsible for calling the printer class to print logs.CodeAnalysisConsoleView
Add verbose severity print methods, and create custom colors for DEBUG
tag (IntelliJ uses blue, coala used Green)Here's a nice screenshot for the same:
Parse and deserialize logs when coala is run with
--log-json
Extension: print these logs to console.