Logging in workers

How to best implement logging within workers spawned by DataLoader (i.e., not just main process)? Thanks.