tslog icon indicating copy to clipboard operation
tslog copied to clipboard

Bug: Safari logs are not pretty

Open SargisPlusPlus opened this issue 1 year ago • 4 comments

Colors are not rendered properly in Safari. No colors and bad symbols.

To Reproduce Steps to reproduce the behavior:

  1. Create logger, like so:
import * as tsLogs from 'tslog';

const logger = new tsLogs.Logger({ type: 'pretty', name })

logger.info('hi')
  1. Log anything

Expected behavior Logs in Safari should be pretty

Screenshots Actual logs: Screenshot 2024-08-22 at 4 12 27 PM

Additional context Using tslog version 4.9.3 Safari 17.6

This is Safari only issue. Works great in Chrome.

Node.js Version v20.8.1

OS incl. Version macOS 14.6.1

SargisPlusPlus avatar Aug 22 '24 23:08 SargisPlusPlus

The same here

konsalex avatar Aug 25 '24 22:08 konsalex

same here 😢, does anyone have a workaround for this?

MartinKallinger avatar Sep 04 '24 06:09 MartinKallinger

Same issue in Windows 11, Firefox: https://github.com/fullstack-build/tslog/issues/317

wsw70 avatar Apr 18 '25 12:04 wsw70

same here 😢, does anyone have a workaround for this?

See https://github.com/fullstack-build/tslog/issues/277#issuecomment-1888717927

wsw70 avatar Apr 18 '25 12:04 wsw70