Skip to content
Snippets Groups Projects
  • Andreas Traczyk's avatar
    0c57cee5
    logger: add console logging code for Windows · 0c57cee5
    Andreas Traczyk authored
    Previously, AllocConsole was called from the client. This has been
    moved into the ConsoleLog class. When calling Logger::setConsoleLog
    an attempt to attach to the console of the parent process will be
    made first. This will be the case when Jami is being run from a
    command line with the debug option. Otherwise, the logger will use
    AllocConsole to instantiate a console window for the logs. The
    latter will have it's lifetime bound by Jami.
    
    Change-Id: I7f1728626962a2f702ad564bb16deadc2d92dfb7
    0c57cee5
    History
    logger: add console logging code for Windows
    Andreas Traczyk authored
    Previously, AllocConsole was called from the client. This has been
    moved into the ConsoleLog class. When calling Logger::setConsoleLog
    an attempt to attach to the console of the parent process will be
    made first. This will be the case when Jami is being run from a
    command line with the debug option. Otherwise, the logger will use
    AllocConsole to instantiate a console window for the logs. The
    latter will have it's lifetime bound by Jami.
    
    Change-Id: I7f1728626962a2f702ad564bb16deadc2d92dfb7
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
logger.cpp 15.89 KiB