KernowCode.KTest.Logging.Loggers.WriteLine C# (CSharp) Method

WriteLine() public method

public WriteLine ( string content ) : void
content string
return void
        public void WriteLine(string content)
        {
            content = PrependCachedContent(content);
            foreach (ILogger logger in _loggers)
            {
                string loggerContent = HandleMidAlign(content, logger);
                logger.WriteLine(loggerContent);
            }
        }

Same methods

Loggers::WriteLine ( string format, string arg ) : void

Usage Example

Beispiel #1
0
 private Behaviour(string targetApplicationLayer, Loggers loggers, string testName, string businessValue)
 {
     _loggers = loggers;
     _targetApplicationLayer = targetApplicationLayer;
     Log(() => _loggers.WriteLine("{0}", new[] {testName}));
     Log(() => _loggers.WriteLine("so that" + Loggers.MidAlignSeparator + businessValue.ExpandToReadable().DecapitaliseInitial()));
     _loggers.StepsStart();
 }
All Usage Examples Of KernowCode.KTest.Logging.Loggers::WriteLine