CK.Core.ActivityMonitorTextWriterClient.OnContinueOnSameLevel C# (CSharp) Method

OnContinueOnSameLevel() protected method

Writes all information.
protected OnContinueOnSameLevel ( ActivityMonitorLogData data ) : void
data ActivityMonitorLogData Log data.
return void
        protected override void OnContinueOnSameLevel( ActivityMonitorLogData data )
        {
            var w = _buffer.Clear();
            w.AppendMultiLine( _prefixLevel, data.Text, true );
            if( _currentTags != data.Tags )
            {
                w.Append( " -[" ).Append( data.Tags ).Append( ']' );
                _currentTags = data.Tags;
            }
            w.AppendLine();
            if( data.Exception != null )
            {
                DumpException( w, _prefix, !data.IsTextTheExceptionMessage, data.Exception );
            }

            _writer( _buffer.ToString() );
        }