Rename debug.[ch] to log.[ch]