Merging auto-logger into core lib