1+ #region FreeBSD
2+
3+ // Copyright (c) 2013, John Batte
4+ // All rights reserved.
5+ //
6+ // Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
7+ //
8+ // * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
9+ //
10+ // * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the
11+ // documentation and/or other materials provided with the distribution.
12+ //
13+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
14+ // TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
15+ // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
16+ // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
17+ // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
18+ // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
19+
20+ #endregion
21+
22+ namespace Patterns . Logging
23+ {
24+ /// <summary>
25+ /// Defines configuration options for the Patterns.Logging namespace.
26+ /// </summary>
27+ public interface ILoggingConfig
28+ {
29+ /// <summary>
30+ /// Gets or sets a value indicating whether the logging interceptor should trap exceptions
31+ /// (as opposed to allowing them to bubble up).
32+ /// </summary>
33+ /// <value>
34+ /// <c>true</c> if the logging interceptor should trap exceptions; otherwise, <c>false</c>.
35+ /// </value>
36+ bool TrapExceptions { get ; set ; }
37+ }
38+ }
0 commit comments