Use shorthand notation for status codes
Added 'Get log by ID' function