Generate BasicLogger methods, rather than duplicating code