Check if logger is available before sending log messages