public class FileNamePatternConverter : PatternLayoutConverter
FileNamePatternConverter | 初始化 FileNamePatternConverter 类的一个新实例 |
FormattingInfo |
Gets or sets the formatting info for this converter
(继承自 PatternConverter。) |
IgnoresException |
Flag indicating if this converter handles the logging event exception
(继承自 PatternLayoutConverter。) |
Next |
Gets the next pattern converter in the chain.
(继承自 PatternConverter。) |
Option |
Gets or sets the option value for this converter
(继承自 PatternConverter。) |
Properties | (继承自 PatternConverter。) |
Convert(TextWriter, LoggingEvent) |
Converts the full file path to just the filename for logging output
(重写 PatternLayoutConverter.Convert(TextWriter, LoggingEvent)) |
Convert(TextWriter, Object) |
Derived pattern converters must override this method in order to
convert conversion specifiers in the correct way.
(继承自 PatternLayoutConverter。) |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
Format |
Write the pattern converter to the writer with appropriate formatting
(继承自 PatternConverter。) |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
SetNext |
Set the next pattern converter in the chains
(继承自 PatternConverter。) |
ToString | Returns a string that represents the current object. (继承自 Object。) |