Skip to content

Disable log_color programatically #65

Description

@xmedeko
  • ulog version: 2.0.0-beta.18

I cannot disable log_color programmatically for all loggers. I have tried

const ulog = require("ulog");
ulog.set("log_color", "off");
// or
ulog.set("log_color", false);

But if I create a logger afterwards const log = ulog("my"), it logs with colors. (Same with log_align).

Note: disabling or excluding whole colors mod would be also fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions