Chakroun-Anas / turbo-console-log

591 stars 141 forks source link

Option to output Console.warn #137

Closed demedos closed 2 years ago

demedos commented 3 years ago

Hi,

it would be nice to have an option to add another keybinding to print console.warn instead of console.log. This would be especially useful when working with React Native, since many times displaying the message on a screen warning is just quicker than checking the debugger.

Thanks!

ShadowGamer3 commented 3 years ago

107 is an issue similar to this. Both are great ideas though, and setting another keybind to a separate log function, whether that be console.warn or a custom function would be very helpful!

Maopy commented 3 years ago

console.debug too

jofftiquez commented 2 years ago

107 is an issue similar to this. Both are great ideas though, and setting another keybind to a separate log function, whether that be console.warn or a custom function would be very helpful!

Doesn't have to be a new keybind, as long as it's customizable.

jofftiquez commented 2 years ago

Apparently there's a PR for this -> https://github.com/Chakroun-Anas/turbo-console-log/pull/155

demedos commented 2 years ago

107 is an issue similar to this. Both are great ideas though, and setting another keybind to a separate log function, whether that be console.warn or a custom function would be very helpful!

Doesn't have to be a new keybind, as long as it's customizable.

Having different keybindings would allow us to use different console functions rather that only the one specified in the settings; nonetheless this is a good starting point

jofftiquez commented 2 years ago

107 is an issue similar to this. Both are great ideas though, and setting another keybind to a separate log function, whether that be console.warn or a custom function would be very helpful!

Doesn't have to be a new keybind, as long as it's customizable.

Having different keybindings would allow us to use different console functions rather that only the one specified in the settings; nonetheless this is a good starting point

I see, I understand. Altho that's a totally different (new) issue.

Chakroun-Anas commented 2 years ago

Hello guys,

Sorry for my inactivity in the last couple of months, as they say better late than never, i just published version 2.2.0 that includes both logType & logFunction properties:

When logFunction is specified, logType is ignored.

Thank you so much for contributing to my humble work, i love you ❤️

jofftiquez commented 2 years ago

Thank you @Chakroun-Anas 🎊