Click or drag to resize

LogFile Class

Generic interface used to an event logger. In short, messages are logged by: 1) Level. The lower the level, the more sever the level, 0 fatal 1 error 2 warning 3 information 4+ debugging messages 2) Source. A string specifying the origin of the message, ie P4Server 3) Message. The text of the message.
Inheritance Hierarchy
SystemObject
  Perforce.P4LogFile

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2018.1.163.6632 (2018.1.163.6632)
Syntax
public class LogFile

The LogFile type exposes the following members.

Constructors
  NameDescription
Public methodLogFile
Initializes a new instance of the LogFile class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLogException
Log an Exception
Public methodStatic memberLogMessage
Create a Log Message
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSetLoggingFunction
Set the logging function to use
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberExternalLogFn
Function pointer to a LogMessageDelegate
Top
See Also