Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve WsjcppEmployees::init with silent mode #4

Open
sea-kg opened this issue Sep 21, 2020 · 0 comments
Open

Improve WsjcppEmployees::init with silent mode #4

sea-kg opened this issue Sep 21, 2020 · 0 comments

Comments

@sea-kg
Copy link
Member

sea-kg commented Sep 21, 2020

Improve WsjcppEmployees::init with show initialization
default value must be false

When set true like:

WsjcppEmployees::init({}, true);

Must be show in log how to init different services like this:

....
2020-09-21 17:35:58.397, 0x00007f45d5874740 [OK] WsjcppEmployees::init: EmployConfig ... INIT_OK
2020-09-21 17:35:58.397, 0x00007f45d5874740 [INFO] EmployFlags: init
2020-09-21 17:35:58.397, 0x00007f45d5874740 [OK] WsjcppEmployees::init: EmployFlags ... INIT_OK
2020-09-21 17:35:58.397, 0x00007f45d5874740 [OK] WsjcppEmployees::init: EmployScoreboard ... INIT_OK
2020-09-21 17:35:58.398, 0x00007f45d5874740 [INFO] EmployTeamLogos: init
2020-09-21 17:35:58.398, 0x00007f45d5874740 [OK] WsjcppEmployees::init: EmployTeamLogos ... INIT_OK
2020-09-21 17:35:58.398, 0x00007f45d5874740 [INFO] WsjcppEmployRuntimeGlobalCache: init
2020-09-21 17:35:58.398, 0x00007f45d5874740 [OK] WsjcppEmployees::init: WsjcppEmployRuntimeGlobalCache ... INIT_OK

If set to false then must be silent success but show fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant