Show / Hide Table of Contents

Class DebugFileLogger

A logger used to create an opentk debug file in the current directory.

Inheritance
object
DebugFileLogger
Implements
ILogger
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Core.Utility
Assembly: OpenTK.Core.dll
Syntax
public class DebugFileLogger : ILogger

Constructors

DebugFileLogger(string)

Initializes a new instance of the DebugFileLogger class.

Declaration
public DebugFileLogger(string fileName = "OpenTK_debug.log")
Parameters
Type Name Description
string fileName

A path to the file to write to.

Properties

Filter

The filter level of the logger. Messages that are below the filter level will not be logged.

Declaration
public LogLevel Filter { get; set; }
Property Value
Type Description
LogLevel

Writer

The TextWriter used to write log data.

Declaration
public TextWriter Writer { get; set; }
Property Value
Type Description
TextWriter

Implements

ILogger
In this article
Back to top Generated by DocFX