- 使用lombok成员方法输出日志
@SpringBootApplication
@Slf4j
public class ReggieTakeOutApplication {
public static void main(String[] args) {
SpringApplication.run(ReggieTakeOutApplication.class, args);
log.info("程序运行开始");
}
}
标签:Java,项目,args,笔记,class,ReggieTakeOutApplication,public
From: https://www.cnblogs.com/feel-myself/p/17056936.html