@@ -0,0 +1,754 @@
+package com.example;%0A%0Aimport org.springframework.boot.SpringApplication;%0Aimport org.springframework.boot.autoconfigure.SpringBootApplication;%0A%0A@SpringBootApplication%0Apublic class AspectDemoApplication %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09long starTime = System.currentTimeMillis();%0A%09%09SpringApplication.run(AspectDemoApplication.class, args);%0A%09%09long endTime=System.currentTimeMillis();%0A%09%09long Time=endTime-starTime;%0A%09%09System.out.println(%22%5CnStart Time: %22+ Time/1000 +%22 s%22);%0A%09%09System.out.println(%22...............................................................%22);%0A%09%09System.out.println(%22..................Service starts successfully..................%22);%0A%09%09System.out.println(%22...............................................................%22);%0A%09%7D%0A%7D%0A

print log via aop