Chakroun-Anas / turbo-console-log

591 stars 141 forks source link

Add optional postfix #179

Open besnikkorca opened 1 year ago

besnikkorca commented 1 year ago

feat: Add optional postfix for logging.

Reason: There's currently no way of adding postfix to every message and I don't want to wrap my logs. e.g

const test = 5;

Currently, there's no way to generate a log that differs from 'test5' - with this change I no longer have to manually insert a - or a space between test and 5

My first attempt to contribute to open source, looking forward to any feedback. fix for github issues: want postfix, Feature request: logMessageSuffix