4 ms·
> Java need standard logging with slightly improved ergonomics That's exactly what JDK9+ java.lang.System.Logger is. See https://stackoverflow.com/questions/59
by smarx007 4y ago
> Java need standard logging with slightly improved ergonomics
That's exactly what JDK9+ java.lang.System.Logger is. See https://stackoverflow.com/questions/59976828/difference-between-java-util-logging-logger-and-java-lang-system-logger https://stackoverflow.com/questions/59976828/difference-betw...
- ptx 4y agoIt seems to be mainly intended for use internally in the JDK, though. From the JEP[1]: "It is not a goal to define a general-purpose interface for logging. The service interface contains only the minimal set of methods that the JDK needs for its own usage." And from the motivation section: "The proposed service enables applications to configure the JDK to use the same logging framework as the application: It would only need to provide an implementation of the service that returns platform loggers that wrap the loggers of the preferred logging framework." [1] https://openjdk.org/jeps/264 https://openjdk.org/jeps/264
- smarx007 4y agoOh, thank you! Learned something today. Plus a lesson to rely less on tech blogs and RTFM more!