SA_Logger
Sapphire's Suite's C++ Logger.
Loading...
Searching...
No Matches
Include
SA
Logger
Preprocessors
FunctionName.hpp
1
// Copyright (c) 2023 Sapphire's Suite. All Rights Reserved.
2
3
#pragma once
4
5
#ifndef SAPPHIRE_LOGGER_FUNCTION_NAME_GUARD
6
#define SAPPHIRE_LOGGER_FUNCTION_NAME_GUARD
7
8
#include <SA/Support/Compilers.hpp>
9
10
namespace
SA
11
{
13
14
#if SA_GNU || SA_CLANG && !SA_MSVC
15
16
#define __SA_FUNC_NAME __PRETTY_FUNCTION__
17
18
#elif SA_MSVC
19
20
#define __SA_FUNC_NAME __FUNCSIG__
21
22
#else
23
24
#define __SA_FUNC_NAME __FUNCTION__
25
26
#endif
27
29
}
30
31
#endif
// GUARD
Generated by
1.10.0