Changeset 874 for cpp/common/log.h
- Timestamp:
- 05/05/19 06:21:06 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/log.h
r511 r874 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-201 5Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2019 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 8 8 #include <stdarg.h> 9 9 10 extern const char* LOG_LEVEL [];10 extern const char* LOG_LEVEL_ARRAY[]; 11 11 #define LOG_FORMAT "%s%s.%s: %s" 12 12 #define LOG_MULTILINE_CONTINUATION "..." 13 14 13 15 14 void logPrintf(const char *obj, const char *method, int level, const char *msgf, ...); … … 17 16 void log_printf(const char *msgf, ...); //a shorthand for printf (a different name again to avoid the risk of confusion with the two functions above. This would be unlikely but possible when the argument types would match) 18 17 void logMessage(const char *obj, const char *method, int level, const char *msg); 18 const char* logLevelName(int level); 19 19 20 20
Note: See TracChangeset
for help on using the changeset viewer.