示例#1
0
        private static readonly log4net.Core.ILogger log = LoggingFactory.Logger(typeof(Program));  //Opened in VS2017
        static void Main(string[] args)
        {
            log.Info("Our Program Started...");

            InitializeCustomConfiguration();
            //TrySimpleQuery();
            //TryRelationshipQuery();
            TrySimpleMongoQuery();

            Console.ReadLine();
        }
 public void ExecutionInterception(CommandStartedEvent e)
 {
     log.Info($"Query Interpretation: {e.CommandName}");
     log.Info(e.Command.ToJson());
 }