A perl module for logging