Class LogEventQuery
- Namespace
- Dynamicweb.Logging.LogEvents
- Assembly
- Dynamicweb.Logging.dll
public class LogEventQuery
- Inheritance
-
LogEventQuery
- Inherited Members
Properties
Action
Only includes items with this action.
public string Action { get; set; }
Property Value
Category
Only includes items from this category.
public string Category { get; set; }
Property Value
Description
Only include items matching this description.
public string Description { get; set; }
Property Value
EndTime
Skips all results from after this time.
public DateTime EndTime { get; set; }
Property Value
ExceptionType
Only includes items of this type of exception.
public string ExceptionType { get; set; }
Property Value
FreeText
Gets or sets search text.
public string FreeText { get; set; }
Property Value
IncludeSlowSearch
If enabled, will use like operator to search/scan for matches in the underlying data.
public bool IncludeSlowSearch { get; set; }
Property Value
Levels
Only include items matching this loglevel.
public List<string> Levels { get; }
Property Value
LogId
Identifier of a given log event.
public string LogId { get; set; }
Property Value
MachineName
Only includes items from machine.
public string MachineName { get; set; }
Property Value
Ordering
Name of column to order by.
public LogEventOrder Ordering { get; set; }
Property Value
SkipNResults
Skips the defined number of items from the result.
public int SkipNResults { get; set; }
Property Value
StartTime
Skips all results from before this time.
public DateTime StartTime { get; set; }
Property Value
TopNResults
Skips all results after the defined number of items.
public int TopNResults { get; set; }
Property Value
UserId
Only includes items from this userid.
public string UserId { get; set; }
Property Value
UserName
Only includes items from this user.
public string UserName { get; set; }
Property Value
Methods
HasSearchParameters()
Specifies if this query has any text-based search parameters.
public bool HasSearchParameters()
Returns
- bool
- hasSearchParameters
IsEmpty()
Specifies if the query has no limiting properties.
public bool IsEmpty()
Returns
- bool
- isEmpty