output of objects doesn't print their properties values
See original GitHub issueI’ve upgraded electron-log from version 2.2.17 to the latest 3.0.3 on the latest version printing objects from the renderer process outputs the properties type (and not their values)
e.g. if I have a JS object:
const obj = { username: 'Me' };
When printing the object using one of the log’s functions I’m getting: { username: [Getter/Setter] }
This wasn’t the case in the previous 2.x releases…
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (4 by maintainers)
Top Results From Across the Web
why console.log doesn't show values of properties added by ...
In last output why it doesn't show level when whole object is printed. It do shows when console.log(Mateen.level) is used. javascript.
Read more >App object in Power Apps - Power Platform | Microsoft Learn
ActiveScreen property. The ActiveScreen property identifies the screen that's showing. This property returns a screen object, which you can ...
Read more >Printing Object properties in UI - GIS Stack Exchange
I am trying to print the distinct values from the "crop" column of a shape file. I am able to print "crop wise...
Read more >Object.keys() - JavaScript - MDN Web Docs
The Object.keys() method returns an array of a given object's own enumerable string-keyed property names.
Read more >Classes - Object-Oriented Programming in Python
Write a function which prints out the names and values of all the custom attributes of any object that is passed in as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fjrial Will look at the problem later.
It seems that you receive console message form mainConsole/rendererConsole. #122. I know it can confuse someone, so I have a plan to change its interface later.
It’ll be fixed in v4