Universal logger