Lucciefr
Lua code caving, injection and exploration framework
Functions
logstdio.h File Reference
#include "msgpack.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void log_text (FILE *stream, msgpack_object *msg)
 output MessagePack object to stream in text format
 
void log_stdio (const char *filename)
 Initialize stdio logging. More...
 

Function Documentation

void log_stdio ( const char *  filename)

Initialize stdio logging.

This opens the specified log file, and starts writing text log messages to it.

Parameters
filenameThe file name to use. The function recognizes "stdout" and "stderr" and will respect their special meaning. For other names, the corresponding log file will be opened for appending (or a new file created, in case it doesn't exist already).