mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: modify banner
This commit is contained in:
parent
33588a6d05
commit
3a32eaea04
@ -8,6 +8,7 @@ ${AnsiColor.GREEN}
|
||||
░██ ░░██████ ███░ ░░░██░░██████░███ ░░█████ ░░██████ ░██████
|
||||
░░ ░░░░░░ ░░░ ░░░ ░░░░░░ ░░░ ░░░░░ ░░░░░░ ░░░░░
|
||||
${AnsiColor.BRIGHT_RED}
|
||||
* Maintainer: tengjiqi@gmail.com
|
||||
* Maintainer: tengjiqi@gmail.com & PowerJob-Team
|
||||
* OfficialWebsite: http://www.powerjob.tech/
|
||||
* SourceCode: https://github.com/KFCFans/PowerJob
|
||||
* PoweredBy: SpringBoot${spring-boot.formatted-version} & Akka (v2.6.4)
|
||||
|
@ -11,21 +11,28 @@ import lombok.extern.slf4j.Slf4j;
|
||||
@Slf4j
|
||||
public final class OmsBannerPrinter {
|
||||
|
||||
private static final String BANNER = "\n ███████ ██ ██ \n" +
|
||||
"░██░░░░██ ░██ ░██ \n" +
|
||||
"░██ ░██ ██████ ███ ██ █████ ██████ ░██ ██████ ░██ \n" +
|
||||
"░███████ ██░░░░██░░██ █ ░██ ██░░░██░░██░░█ ░██ ██░░░░██░██████ \n" +
|
||||
private static final String BANNER = "" +
|
||||
"\n" +
|
||||
" ███████ ██ ██\n" +
|
||||
"░██░░░░██ ░██ ░██\n" +
|
||||
"░██ ░██ ██████ ███ ██ █████ ██████ ░██ ██████ ░██\n" +
|
||||
"░███████ ██░░░░██░░██ █ ░██ ██░░░██░░██░░█ ░██ ██░░░░██░██████\n" +
|
||||
"░██░░░░ ░██ ░██ ░██ ███░██░███████ ░██ ░ ░██░██ ░██░██░░░██\n" +
|
||||
"░██ ░██ ░██ ░████░████░██░░░░ ░██ ██ ░██░██ ░██░██ ░██\n" +
|
||||
"░██ ░░██████ ███░ ░░░██░░██████░███ ░░█████ ░░██████ ░██████ \n" +
|
||||
"░░ ░░░░░░ ░░░ ░░░ ░░░░░░ ░░░ ░░░░░ ░░░░░░ ░░░░░ \n";
|
||||
"░██ ░░██████ ███░ ░░░██░░██████░███ ░░█████ ░░██████ ░██████\n" +
|
||||
"░░ ░░░░░░ ░░░ ░░░ ░░░░░░ ░░░ ░░░░░ ░░░░░░ ░░░░░\n" +
|
||||
"\n" +
|
||||
"* Maintainer: tengjiqi@gmail.com & PowerJob-Team\n" +
|
||||
"* OfficialWebsite: http://www.powerjob.tech/\n" +
|
||||
"* SourceCode: https://github.com/KFCFans/PowerJob\n" +
|
||||
"\n";
|
||||
|
||||
public static void print() {
|
||||
log.info(BANNER);
|
||||
|
||||
String version = OmsWorkerVersion.getVersion();
|
||||
version = (version != null) ? " (v" + version + ")" : "";
|
||||
log.info(":: OhMyScheduler Worker :: {}", version);
|
||||
log.info(":: PowerJob Worker :: {}", version);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user