jmc icon indicating copy to clipboard operation
jmc copied to clipboard

[FUNCTION_REQUEST] Compile-time logging

Open Nico314159 opened this issue 8 months ago • 1 comments

JMC.log(message: string)

Prints the given string into the compiler console. Useful for todo / fixme reminders.

Parameters

  • message: The message to print into console

Compliation [sic] Result: N/A

Example:

JMC.log('todo: make this work');

Result:

Prints out todo: make this work every time it compiles.

Extra Description:

[Describe logic and extra description you would like to inform]

Maybe it could also say which function called it as an extra hint to the developer (because "finish this soon" might not be a very descriptive log message if you don't know what it means by "this")

Nico314159 avatar Jul 02 '24 16:07 Nico314159