/// <summary> /// Log a specific name space to a named target (see <see cref="AddTarget"/> method) /// </summary> /// <param name="namespace">Namespace to log. No wildcards etc.</param> /// <returns>Current configuration instance (to be able to configure fluently)</returns> public FluentNamespaceLogging LogNamespace(string @namespace) { var ns = new FluentNamespaceLogging(this, @namespace); _namespaces.Add(ns); return(ns); }
/// <summary> /// Log a specific name space to a named target (see <see cref="AddTarget"/> method) /// </summary> /// <param name="name">Name space to log</param> /// <returns>Current configuration instance (to be able to configure fluently)</returns> public FluentNamespaceLogging LogNamespace(string name) { Contract.Requires<ArgumentNullException>(!string.IsNullOrEmpty(name)); var ns = new FluentNamespaceLogging(this, name); _namespaces.Add(ns); return ns; }
/// <summary> /// Log a specific name space to a named target (see <see cref="AddTarget"/> method) /// </summary> /// <param name="namespace">Namespace to log. No wildcards etc.</param> /// <returns>Current configuration instance (to be able to configure fluently)</returns> public FluentNamespaceLogging LogNamespace(string @namespace) { var ns = new FluentNamespaceLogging(this, @namespace); _namespaces.Add(ns); return ns; }