Skip to content

Broken on MacOS: it doesn't substitute \e #8

@marcellodesales

Description

@marcellodesales
  • Running the example it prints the following:
$ bash example.sh
\e[41;37m[2021-02-08             15:40:33.N             ][FATAL ][main:18 ] fatal level\e[0m
\e[1;31m[2021-02-08             15:40:33.N             ][ERROR ][main:19 ] error level\e[0m
\e[1;33m[2021-02-08             15:40:33.N             ][WARN  ][main:20 ] warning level\e[0m
\e[1;32m[2021-02-08             15:40:33.N             ][NOTICE][main:21 ] notice level\e[0m
\e[37m[2021-02-08             15:40:33.N             ][INFO  ][main:22 ] info level\e[0m
\e[1;34m[2021-02-08             15:40:33.N             ][DEBUG ][main:23 ] debug level\e[0m
\e[94m[2021-02-08             15:40:33.N             ][TRACE ][main:24 ] trace level\e[0m

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions