Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 80910c8

Browse files
committed
remove duplicate loggers in OrmLiteDialectProviderBase
1 parent 4d0bcba commit 80910c8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ServiceStack.OrmLite/OrmLiteDialectProviderBase.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ SMALLDATETIME DbType.DateTime
8989

9090
public IOrmLiteExecFilter ExecFilter { get; set; }
9191

92-
private static ILog log = LogManager.GetLogger(typeof(OrmLiteDialectProviderBase<>));
93-
9492
public string StringLengthNonUnicodeColumnDefinitionFormat = "VARCHAR({0})";
9593
public string StringLengthUnicodeColumnDefinitionFormat = "NVARCHAR({0})";
9694

@@ -1325,7 +1323,7 @@ public virtual object ConvertDbValue(object value, Type type)
13251323
}
13261324
catch (Exception)
13271325
{
1328-
log.ErrorFormat("Error ConvertDbValue trying to convert {0} into {1}", value, type.Name);
1326+
Log.ErrorFormat("Error ConvertDbValue trying to convert {0} into {1}", value, type.Name);
13291327
throw;
13301328
}
13311329
}

0 commit comments

Comments
 (0)