Skip to content

colors on log fileΒ #77

@riccardomanfrin

Description

@riccardomanfrin

I've got this config in my test.exs config

config :logger,
  backends: [{LoggerFileBackend, :test}]

config :logger, :test,
  colors: [enabled: true],
  path: "/tmp/test.log",
  level: :debug,
  format: "$time [$level] [$metadata] - $message\n",
  metadata: [:pid, :mfa, :file, :line]

but I can't see colorful logs in the file. Is this some unsupported feature for file logging?

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