L4Re Operating System Framework – Interface and Usage Documentation
Loading...
Searching...
No Matches
Log interface

Log C interface. More...

+ Collaboration diagram for Log interface:

Functions

void l4re_log_print (char const *string) L4_NOTHROW
 Write a null terminated string to the default log.
 
void l4re_log_printn (char const *string, int len) L4_NOTHROW
 Write a string of a given length to the default log.
 
void l4re_log_print_srv (const l4_cap_idx_t logcap, char const *string) L4_NOTHROW
 Write a null terminated string to a log.
 
void l4re_log_printn_srv (const l4_cap_idx_t logcap, char const *string, int len) L4_NOTHROW
 Write a string of a given length to a log.
 

Detailed Description

Log C interface.

Function Documentation

◆ l4re_log_print()

void l4re_log_print ( char const *  string)
inline

Write a null terminated string to the default log.

Parameters
stringText to print, null terminated.
See also
L4Re::Log::print

Definition at line 91 of file log.h.

References l4re_log_print_srv(), and l4re_env_t::log.

+ Here is the call graph for this function:

◆ l4re_log_print_srv()

void l4re_log_print_srv ( const l4_cap_idx_t  logcap,
char const *  string 
)

Write a null terminated string to a log.

Parameters
logcapLog capability (service).
stringText to print, null terminated.
See also
L4Re::Log::print

Referenced by l4re_log_print().

+ Here is the caller graph for this function:

◆ l4re_log_printn()

void l4re_log_printn ( char const *  string,
int  len 
)
inline

Write a string of a given length to the default log.

Parameters
stringText to print, null terminated.
lenLength of string in bytes.
See also
L4Re::Log::printn

Definition at line 97 of file log.h.

References l4re_log_printn_srv(), and l4re_env_t::log.

+ Here is the call graph for this function:

◆ l4re_log_printn_srv()

void l4re_log_printn_srv ( const l4_cap_idx_t  logcap,
char const *  string,
int  len 
)

Write a string of a given length to a log.

Parameters
logcapLog capability (service).
stringText to print, null terminated.
lenLength of string in bytes.
See also
L4Re::Log::printn

Referenced by l4re_log_printn().

+ Here is the caller graph for this function: