I have a log formatting component (ILogEntryFormatter) that I resolve from
windsor via xml configuration . It has a enum flags based property called
FormattingOptions of the following type:
[Flags]
public enum LogEntryFormatterOptions : int
{
None = 0,
DateTime = 1,
LogLevel = 2,
StackTrace = 4,
MachineName = 8,
BaseDirectory = 16,
AppDomainName = 32,
ProcessName = 64,
ProcessIdentity = 128,
ProcessId = 256,
ManagedThreadIdentity = 512,
ManagedThreadId = 1024,
Win32ThreadId = 2048,
ManagedThreadName = 4096,
// Reserved = 8192,
// Reserved = 16384,
// Reserved = 32768,
// Reserved = 65536,
All = Int32.MaxValue
}
Can this parameter value be set via castle XML configuration? Can you OR /
combine the values together in castle XML configuration?
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/castle-project-users/-/YwOgHVEARIoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.