Changeset 8013c0c in nscp for modules/NSCAServer/handler_impl.hpp
- Timestamp:
- 01/23/12 07:41:06 (16 months ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2
- Children:
- 6a30f44
- Parents:
- 28f6a64
- File:
-
- 1 edited
-
modules/NSCAServer/handler_impl.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
modules/NSCAServer/handler_impl.hpp
r40fca56 r8013c0c 54 54 55 55 void log_debug(std::string file, int line, std::wstring msg) { 56 GET_CORE()->log(NSCAPI::debug, file, line, msg); 56 if (GET_CORE()->should_log(NSCAPI::log_level::debug)) { 57 GET_CORE()->log(NSCAPI::log_level::debug, file, line, msg); 58 } 57 59 } 58 60 void log_error(std::string file, int line, std::wstring msg) { 59 GET_CORE()->log(NSCAPI::error, file, line, msg); 61 if (GET_CORE()->should_log(NSCAPI::log_level::error)) { 62 GET_CORE()->log(NSCAPI::log_level::error, file, line, msg); 63 } 60 64 } 61 65 };
Note: See TracChangeset
for help on using the changeset viewer.








