Amazon.Runtime.Internal.Util.InternalFileLogger.Error C# (CSharp) Метод

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

Prints the Log With Error Level
public Error ( Exception exception, string messageFormat ) : void
exception System.Exception
messageFormat string
Результат void
        public override void Error(Exception exception, string messageFormat, params object[] args)
        {
            string debug = @"{0} {1}";
            string message = string.Format(messageFormat, args);
            string errorMessage = string.Format(debug, message, exception != null ? exception.ToString() : "");
            Log(LogLevel.Error, errorMessage);
        }