MOS Source Code
Loading...
Searching...
No Matches
syslog.c File Reference
#include "mos/syslog/syslog.h"
#include "mos/platform/platform.h"
#include "mos/tasks/task_types.h"
#include "proto/syslog.pb.h"
#include <mos/compiler.h>
#include <mos/mos_global.h>
#include <mos_stdio.h>
#include <pb_encode.h>
+ Include dependency graph for syslog.c:

Go to the source code of this file.

Functions

long do_syslog (loglevel_t level, thread_t *thread, const char *file, const char *func, int line, debug_info_entry *feat, const char *fmt,...)
 

Variables

static spinlock_t global_syslog_lock = SPINLOCK_INIT
 

Function Documentation

◆ do_syslog()

long do_syslog ( loglevel_t level,
thread_t * thread,
const char * file,
const char * func,
int line,
debug_info_entry * feat,
const char * fmt,
... )

Definition at line 16 of file syslog.c.

+ Here is the call graph for this function:

Variable Documentation

◆ global_syslog_lock

spinlock_t global_syslog_lock = SPINLOCK_INIT
static

Definition at line 14 of file syslog.c.

Referenced by do_syslog().