[This is preliminary documentation and is subject to change.]

A simple way to temporarily hook into fCraft's Logger. Make sure to dispose this class when you are done recording. The easiest way to ensure that is with a using(){...} block.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public sealed class LogRecorder : IDisposable

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
LogRecorder()()()()
Creates a recorder for errors and warnings.
LogRecorder(Boolean, array<LogType>[]()[][])
Creates a custom recorder.
Dispose()()()()
Stops recording the messages (cannot be resumed). This method should be called when you are done with the object. If LogRecorder is in a using() block, this will be done for you (recommended).
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
HasErrors
Whether any errors have been recorded.
HasMessages
Whether any messages at all have been recorded.
HasWarnings
Whether any warnings have been recorded.
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MessageList
An array of individual recorded messages.
MessageString
All messages in one block of text, separated by newlines.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

System..::..Object
  fCraft..::..LogRecorder

See Also