Is the logger 'NX ' prefix intended for use by plugins? #10704
danielsharvey
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a query about the Nx Devkit helper logger functions.
Logging for plugins is documented here:
https://nx.dev/executors/using-builders#devkit-helper-functions
From the code, I see the special treatment of messages starting with
NX
prefix:nx/packages/nx/src/utils/logger.ts
Line 12 in 05a9544
nx/packages/nx/src/utils/logger.ts
Line 21 in 05a9544
This produces messages like:

I am using this in custom plugins as part of project build, and is a nice feature.
Is this intended for use by plugins, custom executors etc?
If so, I can add some notes in the documentation.
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions