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.

Rename the logger to log

See original GitHub issue

Use more standardized naming in the log functionality.

import { logger } from '../../logger';
...
logger.info('Extracting classes');
import { log } from '../../logger';
...
log.info('Extracting classes');

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
GDFabercommented, Nov 15, 2020

Sure thing, it is all yours 👍 Please refer to the contribution guide and feel free to ask if we can be of help.

0reactions
harshilparmarcommented, Feb 2, 2021

@jgreywolf It’s done !! I have standardized as logger in all files. Is it correct ??

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rename the "log" logger to comply with the format "LOG
This has no right answer as this is a convention. Moreover it is subject to debate about what should be considered as constant...
Read more >
Sonar 4.5, Rule S1312 - Rename the "logger" logger to ...
Rename the "logger " logger to comply with the format "LOG(?:GER)?" is invalid, because logger objects is not constants, and its should not...
Read more >
Renaming a log stream dynamically - IBM
Using the log stream rename function, you can rename the failing log stream, ... Save the current data in a renamed log stream...
Read more >
S1312 Naming convention for loggers - Google Groups
public static final Logger LOG = LoggerFactory. ... Before making any change to the rule, we would like to know if any other...
Read more >
FileRenameAction (Apache Log4j Core 2.19.0 API)
File rename action. Field Summary. Fields inherited from class org.apache.logging.log4j.core.appender ...
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