tree-sitter/test/helpers/spy_logger.h
Max Brunsfeld 6dc0ff359d Rename spec -> test
'Test' is a lot more straightforward of a name.
2017-03-09 20:40:01 -08:00

15 lines
271 B
C++

#ifndef HELPERS_SPY_LOGGER_H_
#define HELPERS_SPY_LOGGER_H_
#include <string>
#include <vector>
#include "tree_sitter/runtime.h"
class SpyLogger {
public:
void clear();
TSLogger logger();
std::vector<std::string> messages;
};
#endif // HELPERS_SPY_DEBUGGER_H_