语言:Java,框架:Springboot,应用程序名称: abcApplication "21:47:32.133 main INFO c.c.abc.abcApplication - StartedabcApplication in12.49秒(JVM运行8.467)“
我正在用Springboot开发一个web应用程序。当应用程序成功启动时,springboot-application会输出上述消息。如何处理此事件?当应用程序初始化完成时,我想做一些事情。
例如,以英尺和英寸为例:我怎么能把其中的一个元素分解成这样的东西:
"the person is 5 feet 11 inches tall."feet {} inches tall.".format(list[1], list[1]) #I am aware taking the same index of list will give me 5-