Class GPALLogger
Inheritance
System.Object
GPALLogger
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: GPAL.dll
Syntax
public class GPALLogger : IAllowLoggingAndSetting, IAllowLogging, IAllowLoggingSettings, IAllowToGPALObject<GPALLogger>
Constructors
GPALLogger()
Declaration
Methods
Declaration
public static string GetFormatString(Enums.LogDateFormat format)
Parameters
Returns
| Type |
Description |
| System.String |
|
Log(Object)
Declaration
public IAllowLoggingSettings Log(dynamic logThis)
Parameters
| Type |
Name |
Description |
| System.Object |
logThis |
|
Returns
ToGPALObject()
Declaration
public GPALLogger ToGPALObject()
Returns
WithDatabase(GPALDatabase)
Declaration
public IAllowLoggingSettings WithDatabase(GPALDatabase database)
Parameters
Returns
WithDelimiter(Char)
Declaration
public IAllowLoggingAndSetting WithDelimiter(char delimiter)
Parameters
| Type |
Name |
Description |
| System.Char |
delimiter |
|
Returns
WithDirectoryStructure(Enums.DirectoryStructure)
Declaration
public IAllowLoggingSettings WithDirectoryStructure(Enums.DirectoryStructure type)
Parameters
Returns
WithFilename(String)
Declaration
public IAllowLoggingSettings WithFilename(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
WithFilenamePattern(Enums.FilenamePattern)
Declaration
public IAllowLoggingSettings WithFilenamePattern(Enums.FilenamePattern pattern)
Parameters
Returns
WithLogDateAsAttribute(Boolean)
Declaration
public IAllowLoggingAndSetting WithLogDateAsAttribute(bool logDateAsAttribute = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
logDateAsAttribute |
|
Returns
Declaration
public IAllowLoggingAndSetting WithLoggingFormat(Enums.LogDateFormat logDateFormat)
Parameters
Returns
WithLogType(Enums.LogType)
Declaration
public IAllowLoggingAndSetting WithLogType(Enums.LogType logType)
Parameters
Returns
WithRootDirectory(String)
Declaration
public IAllowLoggingSettings WithRootDirectory(string path)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
Returns
Implements