Stardew Engine
Loading...
Searching...
No Matches
Log.h File Reference
#include <stdarg.h>
Include dependency graph for Log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

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

Functions

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

Enumeration Type Documentation

◆ LogLvl

enum LogLvl
Enumerator
LogLvl_Verbose 
LogLvl_Info 
LogLvl_Warning 
LogLvl_Error 
LogLvl_NumLevels 

Function Documentation

◆ Log_DeInit()

void Log_DeInit ( )

◆ Log_Error()

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

◆ Log_Fmt()

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

◆ Log_Info()

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

◆ Log_Init()

int Log_Init ( )

◆ Log_SetLevel()

void Log_SetLevel ( enum LogLvl  lvl)

logs with a level lower than this will be dropped

◆ Log_Verbose()

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

◆ Log_Warning()

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

◆ vLog_Fmt()

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