Implements logging functionalities to stdout/file for different log channels. More...
#include <sstream>#include <iostream>#include <fstream>#include <cstdarg>#include <cstdio>#include <string>#include <cstring>#include "kNet/DebugMemoryLeakCheck.h"#include "kNet/NetworkLogging.h"#include "kNet/Lockable.h"#include "kNet/Clock.h"
Namespaces | |
| namespace | kNet |
Functions | |
| void | kNet::TimeOutputDebugStringVariadic (LogChannel logChannel, const char *filename, int lineNumber, const char *msg,...) |
| Prints a variadic line to log. | |
| void | kNet::TimeOutputDebugString (LogChannel logChannel, const char *filename, int lineNumber, const char *msg) |
| Prints a message to the log. Same as kNet::TimeOutputDebugStringVariadic, but does not use printf formatting. | |
| void | kNet::SetLogChannels (LogChannel logChannel) |
| Sets the currently enabled log channels. | |
| LogChannel | kNet::GetLogChannels () |
| Returns the currently active log channels. | |
| void | kNet::SetLogFile (const char *filename) |
| Sets the output for log messages. | |
| void | kNet::EnableMemoryLeakLoggingAtExit () |
| When called, sets the runtime to print out all memory leaks at program exit time. | |
Implements logging functionalities to stdout/file for different log channels.
1.7.1