Backport: Add logger from Celeritas
This backports the Logger functionality added in !996 (merged) to the V1-patches branch. This is needed if we want to support a standalone "G4VG" converter. A new v1 release should ideally be created after this is merged.