add only warnings and errors into log
This commit is contained in:
@@ -24,6 +24,8 @@ public class LogsController : Controller
|
|||||||
entry.SessionId = _SessionId;
|
entry.SessionId = _SessionId;
|
||||||
entry.Instance = LogInstance.Morska;
|
entry.Instance = LogInstance.Morska;
|
||||||
|
|
||||||
|
if (entry.Type == LogEntryType.Info) { return ;}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var collection = _firestoreDb.Collection("ApiLogs");
|
var collection = _firestoreDb.Collection("ApiLogs");
|
||||||
var document = collection.Document();
|
var document = collection.Document();
|
||||||
|
|||||||
Reference in New Issue
Block a user