This message was deleted.
# plugin-development
s
This message was deleted.
j
and a logger instance, etc
c
yes, ExecOperations can be injected. Not aware that loggers are injectable, but you can create one from Logging.getLogger.
thank you 1
v
And regarding logging, you can always just use slf4j or log4j-api or Jakarta Commons Logging, or Java Util Logging. Gradle should capture all of them and display the messages at the appropriate Gradle log level.
thank you 1
e
you only get the LIFECYCLE log level with the Gradle logger
but
org.gradle.api.logging.Logging.getLogger(...)
works fine if you need that
it just extends the slf4j logger with lifecycle
thank you 1