Skip to content

Commit b0fc550

Browse files
committed
perf: init on startup
1 parent 6fa58e8 commit b0fc550

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
package com.reajason.javaweb.boot;
22

3+
import com.reajason.javaweb.memshell.Server;
4+
import lombok.extern.slf4j.Slf4j;
35
import org.springframework.boot.SpringApplication;
46
import org.springframework.boot.autoconfigure.SpringBootApplication;
57

8+
import java.util.Arrays;
9+
610
/**
711
* @author ReaJason
812
*/
913
@SpringBootApplication
14+
@Slf4j
1015
public class BootApplication {
1116

1217
public static void main(String[] args) {
13-
1418
SpringApplication.run(BootApplication.class, args);
19+
Server[] values = Server.values();
20+
log.info("Supported servers: {}", Arrays.toString(values));
21+
log.info("For another server, you can open a issue in GitHub, https://github.com/ReaJason/MemShellParty/issues/new?template=%E8%AF%B7%E6%B1%82%E9%80%82%E9%85%8D.md");
1522
}
16-
1723
}

0 commit comments

Comments
 (0)