Exemplo 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);
        }
Exemplo n.º 2
0
        private static void ConfigureCluster(ClusterBuilder cb)
        {
#if NET452
            cb.UsePerformanceCounters("test", true);
#endif
        }
Exemplo n.º 3
0
 private static void ConfigureCluster(ClusterBuilder cb)
 {
     cb.UsePerformanceCounters("test", true);
 }