Amazon.Runtime.Internal.Util.Logger.DebugFormat C# (CSharp) Метод

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

public DebugFormat ( string messageFormat ) : void
messageFormat string
Результат void
        public void DebugFormat(string messageFormat, params object[] args)
        {
            foreach (InternalLogger logger in loggers)
            {
                if (logger.IsEnabled && logger.IsDebugEnabled)
                    logger.DebugFormat(messageFormat, args);
            }
        }

Usage Example

Пример #1
0
 /// <summary>
 /// Puts the value of a key in dataset. If a new value is assigned to the
 /// key, the record is marked as dirty. If the value is null, then the record
 /// is marked as deleted. The changed record will be synced with remote
 /// storage.
 /// </summary>
 /// <param name="identityId">Identity identifier.</param>
 /// <param name="datasetName">Dataset name.</param>
 /// <param name="key">record key.</param>
 /// <param name="value">string value. If null, the record is marked as deleted.</param>
 public void PutValue(string identityId, string datasetName, string key, string value)
 {
     lock (sqlite_lock)
     {
         bool result = PutValueHelper(identityId, datasetName, key, value);
         if (!result)
         {
             _logger.DebugFormat("{0}", @"Cognito Sync - SQLiteStorage - Put Value Failed");
         }
         else
         {
             UpdateLastModifiedTimestamp(identityId, datasetName);
         }
     }
 }
All Usage Examples Of Amazon.Runtime.Internal.Util.Logger::DebugFormat