This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This file was generated by the Gradle 'init' task. | |
* | |
* This generated file contains a sample Java application project to get you started. | |
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle | |
* User Manual available at https://docs.gradle.org/7.1.1/userguide/building_java_projects.html | |
*/ | |
plugins { | |
// Apply the application plugin to add support for building a CLI application in Java. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package p1; | |
import org.slf4j.LoggerFactory; | |
public class Main { | |
public static void main(String[] args) { | |
var logger= LoggerFactory.getLogger(Main.class); | |
System.out.println(logger.getClass()); | |
} | |
} |
OlderNewer