Freeciv-3.3: /fast/freeciv/nightly/main/utility/fcbacktrace.c File Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Functions
fcbacktrace.c File Reference
`#include "fc_prehdrs.h"`
`#include "log.h"`
`#include "shared.h"`
`#include "fcbacktrace.h"`

Go to the source code of this file.

## Functions

void | backtrace_init (void)
void | backtrace_deinit (void)
void | backtrace_print (enum log_level level)

## Function Documentation

## ◆ backtrace_deinit()

void backtrace_deinit | ( | void |  | ) |

Remove backtrace log callback from use

Definition at line 65 of file fcbacktrace.c.

Referenced by client_exit(), and con_log_close().

## ◆ backtrace_init()

void backtrace_init | ( | void |  | ) |

Take backtrace log callback to use

Definition at line 55 of file fcbacktrace.c.

Referenced by client_main(), and con_log_init().

## ◆ backtrace_print()

void backtrace_print | ( | enum log_level | level | ) |

Print backtrace

Definition at line 116 of file fcbacktrace.c.