Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Log.hpp
1
#pragma once
2
3
#include <filesystem>
4
#include <functional>
5
#include <string_view>
6
#include <stdint.h>
7
8
#include <Common/Logging.hpp>
9
10
enum class
PipelineConverterLogSource : uint8_t {
11
General,
12
Scanner,
13
Parser,
14
Resolver,
15
Output
16
};
17
18
constexpr
uint32_t UNDEFINED_LINE = UINT32_MAX;
19
constexpr
uint32_t UNDEFINED_COLUMN = UINT32_MAX;
20
21
// Grindstone::LogSeverity level, PipelineConverterLogSource source, std::string_view msg, const std::filesystem::path& filename, uint32_t line, uint32_t column
22
using
LogCallback = std::function<void(Grindstone::LogSeverity, PipelineConverterLogSource, std::string_view,
const
std::filesystem::path&, uint32_t, uint32_t)>;
sources
code
Plugins
EditorPipelineSetImporter
PipelineSet
Log.hpp
Generated by
1.13.2