L4Re - L4 Runtime Environment
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. More...
 
void l4re_log_printn (char const *string, int len) L4_NOTHROW
 Write a string of a given length to the default log. More...
 
void l4re_log_print_srv (const l4_cap_idx_t logcap, char const *string) L4_NOTHROW
 Write a null terminated string to a log. More...
 
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. More...
 

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.
Returns
0 for success, <0 on error
See also
L4Re::Log::print

Definition at line 99 of file log.h.

References l4re_log_print_srv().

+ 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.
Returns
0 for success, <0 on error
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.
Returns
0 for success, <0 on error
See also
L4Re::Log::printn

Definition at line 105 of file log.h.

References l4re_log_printn_srv().

+ 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.
Returns
0 for success, <0 on error
See also
L4Re::Log::printn

Referenced by l4re_log_printn().

+ Here is the caller graph for this function: