Skip to content

how to config #1

@feiyao

Description

@feiyao

Hi,
Below are my config and program, for some reason I didn't get message logged. Did I do anything apparently wrong. I tried your Demo app, and it's not working either.

//NLog.config
capture

//Program.cs
class Program
{
private static Logger logger = LogManager.GetCurrentClassLogger();
static void Main(string[] args)
{
logger.Info("sending from NLog");
}
}

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