SimGrid  3.16
Versatile Simulation of Distributed Systems
xbt_log_appender_file.c File Reference
#include "src/internal_config.h"
#include "xbt/sysdep.h"
#include "src/xbt/log_private.h"
#include <stdio.h>

Classes

struct  xbt_log_append2_file_s
 

Macros

#define APPEND2_END_TOKEN   "\n[End of log]\n"
 
#define APPEND2_END_TOKEN_CLEAR   "\n "
 

Typedefs

typedef struct xbt_log_append2_file_sxbt_log_append2_file_t
 

Functions

static void append_file (xbt_log_appender_t this_, char *str)
 
static void smpi_append_file (xbt_log_appender_t this_, char *str)
 
static void free_ (xbt_log_appender_t this_)
 
 XBT_LOG_EXTERNAL_CATEGORY (smpi)
 
xbt_log_appender_t xbt_log_appender_file_new (char *arg)
 
static void open_append2_file (xbt_log_append2_file_t data)
 
static void append2_file (xbt_log_appender_t this_, char *str)
 
static void smpi_append2_file (xbt_log_appender_t this_, char *str)
 
static void free_append2_ (xbt_log_appender_t this_)
 
xbt_log_appender_t xbt_log_appender2_file_new (char *arg, int roll)
 

Macro Definition Documentation

◆ APPEND2_END_TOKEN

#define APPEND2_END_TOKEN   "\n[End of log]\n"

◆ APPEND2_END_TOKEN_CLEAR

#define APPEND2_END_TOKEN_CLEAR   "\n "

Typedef Documentation

◆ xbt_log_append2_file_t

Function Documentation

◆ append_file()

static void append_file ( xbt_log_appender_t  this_,
char *  str 
)
static

◆ smpi_append_file()

static void smpi_append_file ( xbt_log_appender_t  this_,
char *  str 
)
static

◆ free_()

static void free_ ( xbt_log_appender_t  this_)
static

◆ XBT_LOG_EXTERNAL_CATEGORY()

XBT_LOG_EXTERNAL_CATEGORY ( smpi  )

◆ xbt_log_appender_file_new()

xbt_log_appender_t xbt_log_appender_file_new ( char *  arg)

◆ open_append2_file()

static void open_append2_file ( xbt_log_append2_file_t  data)
static

◆ append2_file()

static void append2_file ( xbt_log_appender_t  this_,
char *  str 
)
static

◆ smpi_append2_file()

static void smpi_append2_file ( xbt_log_appender_t  this_,
char *  str 
)
static

◆ free_append2_()

static void free_append2_ ( xbt_log_appender_t  this_)
static

◆ xbt_log_appender2_file_new()

xbt_log_appender_t xbt_log_appender2_file_new ( char *  arg,
int  roll 
)