Changeset 8013c0c in nscp for modules/NSCPServer/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/NSCPServer/handler_impl.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
modules/NSCPServer/handler_impl.hpp
r40fca56 r8013c0c 36 36 37 37 void log_debug(std::string file, int line, std::wstring msg) { 38 GET_CORE()->log(NSCAPI::debug, file, line, msg); 38 if (GET_CORE()->should_log(NSCAPI::log_level::debug)) { 39 GET_CORE()->log(NSCAPI::log_level::debug, file, line, msg); 40 } 39 41 } 40 42 void log_error(std::string file, int line, std::wstring msg) { 41 GET_CORE()->log(NSCAPI::error, file, line, msg); 43 if (GET_CORE()->should_log(NSCAPI::log_level::error)) { 44 GET_CORE()->log(NSCAPI::log_level::error, file, line, msg); 45 } 42 46 } 43 47 };
Note: See TracChangeset
for help on using the changeset viewer.








