diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2015-12-31 01:24:31 -0500 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2015-12-31 01:24:31 -0500 |
commit | c50781a2b7d0ab56acb31b8f79df2e69f9f74b8b (patch) | |
tree | 6d120de273d14850689eda796c694f6e4753cfb1 /other/bootstrap_daemon/tox-bootstrapd.service | |
parent | bfc3c4eaac4eec6a2e714b7483b646d8ee21efc9 (diff) |
Make logger a global object instead of an instance
Passing Logger object into every function isn't fun. See for yourself:
something as simple as a public key printing function turns from
>void print_public_key(const uint8_t *public_key)
to
>void print_public_key(Logger *logger, const uint8_t *public_key)
Diffstat (limited to 'other/bootstrap_daemon/tox-bootstrapd.service')
0 files changed, 0 insertions, 0 deletions