diff options
| author | Merov Linden <merov@lindenlab.com> | 2013-06-19 12:24:44 -0700 |
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2013-06-19 12:24:44 -0700 |
| commit | b3c010ea7130331d454c480b82d1309bac712004 (patch) | |
| tree | 8f5e2ba709ebd52400f2831785e0c07c3396815f /indra/llcommon/llerror.h | |
| parent | d65f09ebcafe6ca968236a9991961983d4cd7a47 (diff) | |
| parent | 2655c7a17ae38a073dcf8f05b0127b68edc34c95 (diff) | |
Pull merge lindenlab/viewer-release
Diffstat (limited to 'indra/llcommon/llerror.h')
| -rwxr-xr-x | indra/llcommon/llerror.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/indra/llcommon/llerror.h b/indra/llcommon/llerror.h index b65b410153..0b723aeb5d 100755 --- a/indra/llcommon/llerror.h +++ b/indra/llcommon/llerror.h @@ -34,7 +34,6 @@ #include "llerrorlegacy.h" #include "stdtypes.h" - /** Error Logging Facility Information for most users: @@ -199,8 +198,20 @@ namespace LLError static void clear() ; static void end(std::ostringstream* _out) ; }; + +#if LL_WINDOWS + void LLOutputDebugUTF8(const std::string& s); +#endif + } +#if LL_WINDOWS + // Macro accepting a std::string for display in windows debugging console + #define LL_WINDOWS_OUTPUT_DEBUG(a) LLError::LLOutputDebugUTF8(a) +#else + #define LL_WINDOWS_OUTPUT_DEBUG(a) +#endif + //this is cheaper than llcallstacks if no need to output other variables to call stacks. #define llpushcallstacks LLError::LLCallStacks::push(__FUNCTION__, __LINE__) #define llcallstacks \ |
