diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-05 22:43:11 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-05 22:43:11 +0200 |
commit | 2561266c156a1f63ed85fe2865ac607507ae4cef (patch) | |
tree | 9fbc7cf5fb9a045e7bbf70ab07f9b5b4e518a782 /src/log.h | |
parent | 5f898aa52f81671cbc54beea19211c8a75e0962f (diff) | |
download | fastd-2561266c156a1f63ed85fe2865ac607507ae4cef.tar fastd-2561266c156a1f63ed85fe2865ac607507ae4cef.zip |
Add status socket to get the current status as JSON
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -53,7 +53,9 @@ typedef enum fastd_loglevel { } fastd_loglevel_t; -/** Logs a formatted string with the specified log level */ +size_t fastd_snprint_peer_address(char *buffer, size_t size, const fastd_peer_address_t *address, const char *iface, bool bind_address, bool hide); + + void fastd_logf(const fastd_loglevel_t level, const char *format, ...); /** Logs a formatted fatal error message */ |