Catel.Logging.Log.Indent C# (CSharp) Метод

Indent() публичный Метод

Increases the IndentLevel by 1.
public Indent ( ) : void
Результат void
        public void Indent()
        {
            IndentLevel++;
        }

Usage Example

Пример #1
0
            public void IncreasesIndentLevel()
            {
                LogManager.AddDebugListener();
                var log = new Log(typeof (int));

                Assert.AreEqual(0, log.IndentLevel);

                log.Indent();

                Assert.AreEqual(1, log.IndentLevel);
            }
All Usage Examples Of Catel.Logging.Log::Indent