Class LogContextBuilder
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public sealed class LogContextBuilder
- Inheritance
-
LogContextBuilder
- Inherited Members
Constructors
LogContextBuilder(LogContextBuilderOwnedHandle)
public LogContextBuilder(LogContextBuilderOwnedHandle handle)
Parameters
handleLogContextBuilderOwnedHandle
Properties
Handle
public LogContextBuilderOwnedHandle Handle { get; }
Property Value
Methods
Build()
[Version("1.28")]
public LogContext Build()
Returns
Equals(LogContextBuilder?)
public bool Equals(LogContextBuilder? other)
Parameters
otherLogContextBuilder
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
New(DebugCategory, LogContextFlags)
[Version("1.28")]
public static LogContextBuilder New(DebugCategory category, LogContextFlags flags)
Parameters
categoryDebugCategoryflagsLogContextFlags
Returns
SetCategory(DebugCategory)
[Version("1.28")]
public LogContextBuilder SetCategory(DebugCategory category)
Parameters
categoryDebugCategory
Returns
SetHashFlags(LogContextHashFlags)
[Version("1.28")]
public LogContextBuilder SetHashFlags(LogContextHashFlags flags)
Parameters
flagsLogContextHashFlags
Returns
SetInterval(ClockTime)
[Version("1.28")]
public LogContextBuilder SetInterval(ClockTime interval)
Parameters
intervalClockTime