Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FUNCTION_REQUEST] Compile-time logging #106

Open
Nico314159 opened this issue Jul 2, 2024 · 1 comment
Open

[FUNCTION_REQUEST] Compile-time logging #106

Nico314159 opened this issue Jul 2, 2024 · 1 comment
Assignees
Labels
Type: Feature request New feature or request

Comments

@Nico314159
Copy link
Contributor

Nico314159 commented Jul 2, 2024

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 Nico314159 added the Type: Feature request New feature or request label Jul 2, 2024
@Nico314159
Copy link
Contributor Author

Nico314159 commented Jul 26, 2024

The function could also be called something like JMC.warning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants