Files
raddebugger/src/linker/lnk_log.h
T
Nikita Smith 26611c5454 moved IO related code to stand-alone file, piped all read/and writes
through new API, /rad_log now can enable read and/or write logs with
"io", "io_reads", "io_writes" parameters.
2024-10-19 16:36:32 -07:00

26 lines
586 B
C

// Copyright (c) 2024 Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
#pragma once
typedef enum
{
LNK_Log_Null,
LNK_Log_Debug,
LNK_Log_InputObj,
LNK_Log_InputLib,
LNK_Log_IO_Read,
LNK_Log_IO_Write,
LNK_Log_SizeBreakdown,
LNK_Log_LinkStats,
LNK_Log_Timers,
LNK_Log_Count
} LNK_LogType;
internal void set_log_level(LNK_LogType type, B32 is_enabled);
internal B32 lnk_get_log_status(LNK_LogType type);
internal void lnk_log(LNK_LogType type, char *fmt, ...);
internal LNK_LogType lnk_log_type_from_string(String8 string);