0
我有下面的擴展方法。我傳遞所有的值作爲參數。我想知道,如果這個方法可以通過多個線程訪問它是否是線程安全的方法。這是通用的擴展方法線程安全的日誌記錄?
public static string ConcatLogKeyWithExceptionMessage<T>(this T entity, string configuredLogKeys, bool logOnlySingleKey, string exceptionMessage, bool firstInvocation = true, StringBuilder logKeyBuilder = null, string[] configuredKeysArray = null) where T : class
{
}
如果您需要更多信息,請讓我知道