Make two logging decorators for convenience