Define the log manager constructor