Skip to content

Commit

Permalink
Add a Logo for Pika (OpenAtomFoundation#1787)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mixficsol authored Jul 21, 2023
1 parent 84462e4 commit b3d7fa5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/pika.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ static void version() {
std::cout << "redis_version: " << version << std::endl;
}

static void PrintPikaLogo() {
printf(" ........... .... ..... ...... ..... \n"
" ################# #### ##### ##### ####### \n"
" #### ##### #### ##### ##### ######### \n"
" #### ##### #### ##### ##### #### ##### \n"
" #### ##### #### ##### ##### #### ##### \n"
" ################ #### ##### ##### #### ##### \n"
" #### #### ##### ##### ################# \n"
" #### #### ##### ###### ##### ##### \n"
" #### #### ##### ###### ##### ##### \n");
}

static void PikaConfInit(const std::string& path) {
printf("path : %s\n", path.c_str());
g_pika_conf = std::make_unique<PikaConf>(path);
Expand All @@ -49,6 +61,7 @@ static void PikaConfInit(const std::string& path) {
version();
printf("-----------Pika config list----------\n");
g_pika_conf->DumpConf();
PrintPikaLogo();
printf("-----------Pika config end----------\n");
}

Expand Down

0 comments on commit b3d7fa5

Please sign in to comment.