Duality.Log.PushIndent C# (CSharp) Method

PushIndent() public method

Increases the current log entry indent.
public PushIndent ( ) : void
return void
        public void PushIndent()
        {
            this.state.Indent++;
        }

Usage Example

Esempio n. 1
0
        /// <summary>
        /// Initializes all previously loaded plugins.
        /// </summary>
        public override void InitPlugins()
        {
            Log.Write(LogType.Info, "Initializing core plugins...");
            Log.PushIndent();

            CorePlugin[] initPlugins = this.LoadedPlugins.ToArray();
            foreach (CorePlugin plugin in initPlugins)
            {
                this.InitPlugin(plugin);
            }

            Log.PopIndent();
        }
All Usage Examples Of Duality.Log::PushIndent