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: 2023.2.258.5793
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 (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberLogException
Log an Exception
Public methodStatic memberLogMessage
Create a Log Message
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberSetLoggingFunction
Set the logging function to use
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberExternalLogFn
Function pointer to a LogMessageDelegate
Top
See Also