Added two new well-known log sources to the static Starcounter LogSources class - the source to be used by the code host loader and that of the code host assembly resolver.
Changed the code host loader to use the new well-known log source when emitting trace messages.
Changed the Starcounter.Hosting Package class to use the log source of the Loader when emitting trace messages.
Changed the source of the server library command processor when emitting trace messages.
Changed how the code host bootstrapping Control class emit trace messages by allowing a log source to be specified and use that instead of a custom string.
Changed the bootstrapper of sccode.exe to use the LogSources.Hosting log source when getting the Control kicking.
Changed the admin server to utilize a new custom log source ("Starcounter.AdminServer") to emit trace- and log messages.
Changed the code host assembly resolver to use new CodeHostAssemblyResolver log source when logging.
Changed the code host AssemblyResolver to use our internal Diagnostics API when tracing.
Extended the Diagnostics class of Starcounter.Internal with a parsing method, supporting parsing of messages compatible with those formatted by the WriteLine method.
Extended the LogTraceListener to support parsing of incoming traces and doing a transformation of their content before writing them to the underlying log. The principal transformation we want to do is to use the custom log source part of the original trace message.
Extended the staradmin Context class to allow querying of command-line options scoped as "global"
Made the code host assembly resolver trace it's own instantiation in a code host process, including the PID.
Extended Starcounter.CLI FilterableLogReader class to support filtering on a named database.
Made the 'staradmin list log' command allow filtering entries read/listed to a single named database using explicit -d/-database option.
Added new environment variable GlobalTraceLogging to StarcounterEnvironment. We'll use this to enable/consume the trace logger.
Added property IsGlobalTraceLoggingEnabled to Diagnostics. This propery indicates if a process should enable trace logging or not (abstracting away the use of the underlying environment variable).
Changed the Starcounter.Bootstrap library to consult new diagnostics variable IsGlobalTraceLoggingEnabled to see if trace logging for a given host process should be enabled during bootstrapping.
Extended scservice.exe to support new diagnostic switch --tracelogging to offer a simple way to turn on trace logging for all hosts.
Merge branch 'develop' into issue/2258