Duality.Log.PopIndent C# (CSharp) Méthode

PopIndent() public méthode

Decreases the current log entry indent.
public PopIndent ( ) : void
Résultat void
        public void PopIndent()
        {
            this.state.Indent--;
        }

Usage Example

Exemple #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::PopIndent