File Log.h

FileList > engine > include > Log.h

Go to the source code of this file

  • #include <stdarg.h>

Public Types

Type Name
enum LogLvl

Public Functions

Type Name
void Log_DeInit ()
int Log_Error (const char * fmt, ...)
int Log_Fmt (const char * fmt, enum LogLvl lvl, ...)
int Log_Info (const char * fmt, ...)
int Log_Init ()
void Log_SetLevel (enum LogLvl lvl)
logs with a level lower than this will be dropped
int Log_Verbose (const char * fmt, ...)
int Log_Warning (const char * fmt, ...)
int vLog_Fmt (const char * fmt, enum LogLvl lvl, va_list args)

Public Types Documentation

enum LogLvl

enum LogLvl {
    LogLvl_Verbose,
    LogLvl_Info,
    LogLvl_Warning,
    LogLvl_Error,
    LogLvl_NumLevels
};

Public Functions Documentation

function Log_DeInit

void Log_DeInit () 

function Log_Error

int Log_Error (
    const char * fmt,
    ...
) 

function Log_Fmt

int Log_Fmt (
    const char * fmt,
    enum LogLvl lvl,
    ...
) 

function Log_Info

int Log_Info (
    const char * fmt,
    ...
) 

function Log_Init

int Log_Init () 

function Log_SetLevel

logs with a level lower than this will be dropped

void Log_SetLevel (
    enum LogLvl lvl
) 

function Log_Verbose

int Log_Verbose (
    const char * fmt,
    ...
) 

function Log_Warning

int Log_Warning (
    const char * fmt,
    ...
) 

function vLog_Fmt

int vLog_Fmt (
    const char * fmt,
    enum LogLvl lvl,
    va_list args
) 


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/include/Log.h