Output when debug mode is enabled
This commit is contained in:
parent
5f1d6e7fe5
commit
bf72debefb
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ void WINAPI TelldusWinService::serviceMain( DWORD argc, TCHAR* argv[] ) {
|
|||
for(unsigned int i = 1; i < argc; ++i) {
|
||||
if (wcscmp(argv[i], L"--debug") == 0) {
|
||||
Log::setDebug();
|
||||
Log::debug("Debug message output enabled");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue