Skip to content

Finding a renamed notepad process #32

@bstordrup

Description

@bstordrup

If I provide a copy of the Notepad.exe file with a different name (say MyNotepadMonitor.exe), I can provide a custom Func<Process> that searches for this process name in the call to LoggerConfiguration().WriteTo.Notepad().

But what if I don't use this, but rely entirely on the configuration in appsettings.json? Is it possible to provide a function there? Or would it be an option to add a parameter that specifies the name of the executable to use instead of Notepad.exe?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions