Esempio n. 1
0
        private static void ConfigureCluster(ClusterBuilder cb)
        {
            //string desktop =
            //Environment.GetFolderPath(Environment.SpecialFolder.Desktop); var
            //file = Path.Combine(desktop, "log.txt"); var streamWriter = new
            //StreamWriter(file); var writer =
            //TextWriter.Synchronized(streamWriter);

            //cb.AddListener(new LogListener(writer, LogLevel.Error));
            cb.UsePerformanceCounters("test", true);
        }
Esempio n. 2
0
        private static void ConfigureCluster(ClusterBuilder cb)
        {
#if NET452
            cb.UsePerformanceCounters("test", true);
#endif
        }
Esempio n. 3
0
 private static void ConfigureCluster(ClusterBuilder cb)
 {
     cb.UsePerformanceCounters("test", true);
 }