- Add etw_event_source_guid() which uses sha1_smol and uuid v5 feature to calculate name-based GUID
- Make uuid be optional in ProviderAttributes and generate name-based GUID if not provided as parameter to macro
- Add and update unit tests
- Add PROVIDER_NAME to provider, to aid in test/debug of generated GUIDs
This changes the default event level if none is specified from INFO (4)
to VERBOSE (5). This matches the implementation in TraceLoggingProvider.h,
which uses VERBOSE as well.
Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
Allow &[bool], since Rust has committed to a 1-byte representation of `bool`.
Re-export several types from `widestring` so that code generated by the
`trace_logging_provider` macro no longer has a direct reference to the
`widestring` crate.
Update docs.
There are no code changes in this. There are changes that need to be made,
but I wanted to move this to the correct place (github.com/microsoft) before
making those changes.
I wrote 100% of this code, and I wrote it while I was employed by Microsoft
in May 2020. Microsoft has all rights to this code.