コード例 #1
0
        public TextTracer(IFileSystem fileSystem, string path, TraceLevel level, int depth = 0)
        {
            _logFile = new LogFileHelper(fileSystem, path, level);
            _depth   = depth;

            // Initialize cleanup timer
            CleanupHelper.Initialize(path);
        }
コード例 #2
0
ファイル: TextTracer.cs プロジェクト: JennyLawrance/KuduLight
        public TextTracer(string path, TraceLevel level, int depth = 0)
        {
            _logFile = new LogFileHelper(this, path);
            _level   = level;
            _depth   = depth;

            // Initialize cleanup timer
            OperationManager.SafeExecute(() => CleanupHelper.Initialize(path));
        }
コード例 #3
0
        public TextTracer(string path, TraceLevel level, int depth = 0)
        {
            _logFile = new LogFileHelper(this, path);
            _level   = level;
            _depth   = depth;

            // Initialize cleanup timer
            CleanupHelper.Initialize(path);
        }