     ///   - tagName: the tag name of the callback method
     ///   - parameters: the parameters sent to the method through a dictionary
     func logReceivedFunction(_ tagName: String, parameters: [String: Any]) {
-        carLog(kTAGLoggerLogLevelInfo,
+        carLog(.info,
                message: "Received function \(tagName) with parameters \(parameters)");
     }
 

    ///   - key: The name of the parameter
    ///   - possibleValues: The possible values
    func logNotFoundValue(_ value: String, key: String, possibleValues: Array<Any>) {
        carLog(kTAGLoggerLogLevelWarning,
               message: "Value '\(value)' for key '\(key)' is not found among possible values \(possibleValues)");
    }


    ///
    /// - Parameter intentLevel: The level of the message which want to be logged.
    /// - Returns: A boolean value telling whether the message can (true) or cannot (false) be logged.
    func levelEnabled(_ intentLevel:LogLevelType) -> Bool {
        return ((level != .none) && (intentLevel.rawValue >= level.rawValue));
    }
    
    /// Returns a string associated to the level of the log.
    ///
    /// - Parameter logingLevel: the log level
    /// - Returns: the String defining the log level
    func nameOfLevel(_ logingLevel:LogLevelType) -> String {
        var result: String!;
        switch (logingLevel) {
            case .verbose:
                result = "VERB";
                break;
            case .debug:
                result = "DEBU";
                break;
            case .info:
                result = "INFO";
                break;
            case .warning:
                result = "WARN";
                break;
            case .error:
                result = "ERRO";
                break;
            case .none:
                result = "NONE";
                break;
        }
        return result;
    }
    
}
