private void logIfEnabled(String content) {
        if (!isChatLoggingEnabled)
            return;

        if (chatLogger == null)
            chatLogger = new FileLogger( getServerTab().getTabName(), getTabName() );

        chatLogger.log(content);
    }