Skip to content

ETW fields containing spaces #30

Description

@lischach

I am currently writing an ETW provider using this crate, and need to send an event, with a field that contains spaces.
I saw that the recommended way to send events, is using the trace_logging_provider macro, for example:

  #[trace_logging_provider(
            guid = "ee756ff4-11ee-4682-8e49-c833206e2d90",
            name = "MyTestProvider7"
        )]
        pub trait MyTestProvider7Events {
            fn Event1(data: i32);
        }

        let provider2 = MyTestProvider7Events::new();
       provider2.Event1(None, 1);

Is there any way, which I can have the event field (data in this example), contain spaces? So the actual ETW event that will fire, will have a field named "My data".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions