WinDbg STL Logging Class menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    WinDbg STL Logging Class

    This class can be used to redirect the standard output streams (technically any output stream but obviously redirecting the standard ones will be the most useful) to the WinDbg output window.

    Very simple in concept and in implementation. Tested and working as intended. Just figured this would be useful for the people like me who program in C++ and are annoyed by having to use WinDbg's C-style logging function (which is as ugly and evil as printf).

    Header-only library, Boost dependency, WinDBG SDK dependency (duh). Implemented using templates so it supports both character types (char and wchar_t) currently in the C++ standard.

    Usage Example:
    Code:
      // Redirect standard output streams to WinDbg
      static Cypher::WinDbgLogger<char>::Stream NarrowStream;
      static Cypher::WinDbgLogger<wchar_t>::Stream WideStream;
      NarrowStream.open(Cypher::WinDbgLogger<char>());
      std::cout.rdbuf(NarrowStream.rdbuf());
      WideStream.open(Cypher::WinDbgLogger<wchar_t>());
      std::wcout.rdbuf(WideStream.rdbuf());
    Release History:
    v20091015a
    Initial version, working as intended.
    Last edited by Cypher; 10-15-2009 at 05:49 AM.

    WinDbg STL Logging Class
  2. #2
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am going to play around a bit with WinDbg, thanks :wave:

  3. #3
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by flo8464 View Post
    I am going to play around a bit with WinDbg, thanks :wave:
    Very steep learning curve compared to the alternatives, however it's also very powerful compared to the alternatives.

Similar Threads

  1. What class do you play as?
    By janzi9 in forum Community Chat
    Replies: 28
    Last Post: 11-13-2006, 04:03 PM
  2. Whats your favorite class?
    By Bossman4 in forum World of Warcraft General
    Replies: 32
    Last Post: 11-07-2006, 09:48 AM
  3. Full Guide for Dungeon Set 1 items (all classes)
    By Cush in forum World of Warcraft Guides
    Replies: 13
    Last Post: 09-07-2006, 03:07 PM
  4. priest own any class
    By bigbaz in forum World of Warcraft Exploits
    Replies: 4
    Last Post: 06-10-2006, 01:13 AM
  5. Never log out
    By Matt in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 05-25-2006, 01:06 PM
All times are GMT -5. The time now is 06:26 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search