Best way to display log file

Hi,
I am using New-UDTypography to display a log file, but I cannot let it autowrap the long lines to next line, also I cannot set the background color. Is there a better way to do that?

I also want to high light the lines with “error” in red, not sure that is possible?

here is my code:

$data = Get-Content '\\server\backup.log' | Out-String
New-UDTypography -Text $data -Style @{color=’#2196f3’; backgoundcolor=’#000000’} -Paragraph

thanks!