| 145 | } |
| 146 | |
| 147 | void Logger::Print(const char *sev, const char *func_name, const char *msg, ...) |
| 148 | { |
| 149 | va_list args; // varialbe args |
| 150 | |
| 151 | // Begin the args |
| 152 | va_start (args, msg); |
| 153 | |
| 154 | // Print without the filename and line number included |
| 155 | printV(sev, logFile, NULL, 0, func_name, msg, args); |
| 156 | fflush(logFile); |
| 157 | |
| 158 | // Free/end the args |
| 159 | va_end(args); |
| 160 | } |
| 161 | |
| 162 | /*********************************************************************//** |
| 163 | * Prints the message |
nothing calls this directly
no outgoing calls
no test coverage detected