question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The "prefixColor" should be configurable

See original GitHub issue

It should be possible to set a fixed color for a Markdown logger, like:

var logger = new Logdown({
  alignOuput: true,
  prefix: 'cryptobox.store.IndexedDB',
  prefixColor: '#B58900'
});

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
clayrissercommented, Jul 4, 2017

Thanks 😃

1reaction
caiogondimcommented, Jul 4, 2017

prefixColor now accepts HEX values for Node and browser. Will work on a feature to disable completely decoration, in case you want to log to a file or a console without color support.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add configurable colors for branch prefixes #1634 - GitHub
Currently, there are 3 branch prefixes that will render the branch name in a color other than the default. (green for feature, red...
Read more >
Elements/Attributes by Prefix Preferences - Oxygen XML Editor
Oxygen XML Editor allows you to specify syntax highlighting colors for XML elements and attributes with specific namespace prefixes. To configure the ...
Read more >
UserPrefix [Hex Color Support] [All version] 2.4.2 - SpigotMC
The prefix icon can be configured as "Selected", "Has Permission" and “No Permission”. Item configuration is natively configured through ...
Read more >
Example: Using Two-Color Policers and Prefix Lists | Junos OS
If you provide specific amounts of bandwidth to internal or external customers, you can use policing to make sure that customers do not...
Read more >
Is there a way to set a theme for the input decoration prefix icon?
The size and color of the prefix icon is configured automatically using an [IconTheme] and therefore does not need to be explicitly given...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found