Table of Contents

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

string

Category

Only includes items from this category.
public string Category { get; set; }

Property Value

string

Description

Only include items matching this description.
public string Description { get; set; }

Property Value

string

EndTime

Skips all results from after this time.
public DateTime EndTime { get; set; }

Property Value

DateTime

ExceptionType

Only includes items of this type of exception.
public string ExceptionType { get; set; }

Property Value

string

FreeText

Gets or sets search text.
public string FreeText { get; set; }

Property Value

string

IncludeSlowSearch

If enabled, will use like operator to search/scan for matches in the underlying data.
public bool IncludeSlowSearch { get; set; }

Property Value

bool

Levels

Only include items matching this loglevel.
public List<string> Levels { get; }

Property Value

List<string>

LogId

Identifier of a given log event.
public string LogId { get; set; }

Property Value

string

MachineName

Only includes items from machine.
public string MachineName { get; set; }

Property Value

string

Ordering

Name of column to order by.
public LogEventOrder Ordering { get; set; }

Property Value

LogEventOrder

SkipNResults

Skips the defined number of items from the result.
public int SkipNResults { get; set; }

Property Value

int

StartTime

Skips all results from before this time.
public DateTime StartTime { get; set; }

Property Value

DateTime

TopNResults

Skips all results after the defined number of items.
public int TopNResults { get; set; }

Property Value

int

UserId

Only includes items from this userid.
public string UserId { get; set; }

Property Value

string

UserName

Only includes items from this user.
public string UserName { get; set; }

Property Value

string

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
To top