VL
Utils.h
Go to the documentation of this file.
1//
2// Utils.h
3//
4// Created by skorokhodov on 11/22/17.
5//
6
7#ifndef Utils_h
8#define Utils_h
9
10#include <string>
11
12namespace Utils
13{
14 void Log(const char* fmt, ...);
15 void Warn(const char* fmt, ...);
16 void Log(const char* fmt, va_list args);
17 unsigned Hash(const std::string& data);
18 std::string FormatStr(const char* fmt, ...);
19}
20
21#endif /* Utils_h */
Definition: Utils.h:13
void Log(const char *fmt,...)
Definition: Utils.cpp:29
void Warn(const char *fmt,...)
Definition: Utils.cpp:37
std::string FormatStr(const char *fmt,...)
Definition: Utils.cpp:57
unsigned Hash(const std::string &data)
Definition: Utils.cpp:45