Log Formatter

Format raw logs: pretty JSON, multiline stacktraces, or extract error lines only