WinTer 0.1.1
Windows Terminal Emulator
Loading...
Searching...
No Matches
test_log.c File Reference
#include "base/base_log.h"
#include "test_harness.h"
#include <string.h>
Include dependency graph for test_log.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void test_lock_fn (void *user_data, b32 lock)
static void test_log_callback (LogEvent *ev, void *user_data)
static void test_logging_system (void)

Variables

static int lock_calls = 0
static int unlock_calls = 0
static int callback_hits = 0
static LogLevel last_level
static char last_msg [256]

Function Documentation

◆ test_lock_fn()

void test_lock_fn ( void * user_data,
b32 lock )
static

Definition at line 14 of file test_log.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_log_callback()

void test_log_callback ( LogEvent * ev,
void * user_data )
static

Definition at line 25 of file test_log.c.

Here is the caller graph for this function:

◆ test_logging_system()

void test_logging_system ( void )
static

Definition at line 34 of file test_log.c.

Here is the call graph for this function:

Variable Documentation

◆ callback_hits

int callback_hits = 0
static

Definition at line 8 of file test_log.c.

◆ last_level

LogLevel last_level
static

Definition at line 9 of file test_log.c.

◆ last_msg

char last_msg[256]
static

Definition at line 10 of file test_log.c.

◆ lock_calls

int lock_calls = 0
static

Definition at line 6 of file test_log.c.

◆ unlock_calls

int unlock_calls = 0
static

Definition at line 7 of file test_log.c.