 
 internal let ModuleLogName  = "TraceLog"
 
-private let LogTag    = "LOG_TAG_"
-private let LogPrefix = "LOG_PREFIX_"
-private let LogAll    = "LOG_ALL"
-
-internal enum ConfigurationError : Error {
-    case invalidLogLevel(String)
-}
-
 ///
 /// Internal data
 ///
 internal class Configuration  {
+    
+    enum ConfigurationError : Error {
+        case invalidLogLevel(String)
+    }
+    
+    private static let logTag    = "LOG_TAG_"
+    private static let logPrefix = "LOG_PREFIX_"
+    private static let logAll    = "LOG_ALL"
     
     var globalLogLevel = LogLevel.info
     

        return errors
    }
    
    func logLevel(_ tag: String) -> LogLevel {
        
        /// Set to the default global level first
        var level = self.globalLogLevel

        } else {
            
            /// Determine the prefixes log level if available
            for (prefix, logLevel) in self.loggedPrefixes {
                if tag.hasPrefix(prefix) {
                    level = logLevel
                }
            }
        }
        return level;
    }
}

