Enter to send·Shift+Enter new line
Check if logging is enabled (either debug or file)
isEnabled(): boolean