pidgin/pidgin

Modernize debug.[ch]

2021-03-27, Gary Kramlich
4ee19005534e
Modernize debug.[ch]

This was mostly just styling but I added a functions to make things a bit
easier to read and migrate to GDateTime.

Testing Done:
Ran locally and verified debug works and still looks the same both on the console and in the debug window.

Reviewed at https://reviews.imfreedom.org/r/587/
---
id: im.pidgin.Pidgin3
runtime: org.gnome.Platform
runtime-version: '3.36'
sdk: org.gnome.Sdk
command: pidgin3
finish-args:
- --share=ipc
- --socket=fallback-x11
- --share=network
- --socket=pulseaudio
- --talk-name=org.freedesktop.Notifications
- --system-talk-name=org.freedesktop.Avahi
modules:
- packaging/flatpak/libpurple-common.yml
- packaging/flatpak/talkatu.yml
- name: pidgin3
buildsystem: meson
config-opts:
- -Dconsoleui=false
- -Ddoc=false
sources:
- type: dir
path: '.'