Made logger internal
Accepted '-' in pattern