Auctus Class Library
  • Welcome!
  • Community
  • Reference
    • Namespaces
    • Automation
      • Logger
        • Logger(String, LogType, Int32)
        • Logger(Exception, LogType, Int32)
        • Logger(String, Object, LogType, Int32)
        • Logger(String, Object, Object, LogType, Int32)
        • Logger(String, Object, Object, Object, LogType, Int32)
        • Logger(String, Object[], LogType, Int32)
        • Logger(Boolean, LogType, Int32)
        • Logger(Char, LogType, Int32)
        • Logger(Char[], LogType, Int32)
        • Logger(Char[], Int32, Int32, LogType, Int32)
        • Logger(Double, LogType, Int32)
        • Logger(Decimal, LogType, Int32)
        • Logger(Single, LogType, Int32)
        • Logger(Int32, LogType, Int32)
        • Logger(UInt32, LogType, Int32)
        • Logger(Int64, LogType, Int32)
        • Logger(UInt64, LogType, Int32)
        • Logger(Object, LogType, Int32)
      • SLNet
        • SendDmsFileChange(Engine, String)
        • ChangeCommunicationState(Engine, Int32, Int32, Boolean)
        • GetInfo<T>(Engine, InfoTypeSingle)
        • GetInfo<T>(Engine, InfoTypeArray)
        • AddDocument(Engine, String, String, Byte[])
    • Common
      • Comparators
        • ObjectReferenceEqualityComparer
      • Enums
        • InfoTypeSingle
        • InfoTypeArray
      • Data Types
        • Bool Extensions
          • ToInt()
        • Integer Extensions
          • ToBool()
          • ToEnum<TEnumType>()
        • Object Extensions
          • ToStr(Boolean)
          • ToInt(Boolean)
          • ToDouble(Boolean)
          • ToBool(Boolean)
          • FromOADate(Boolean)
          • ToEnum<TEnumType>(Boolean)
          • ToJson(Boolean)
          • IsNull()
        • StringBuilder Extensions
          • Append(String, Boolean)
          • AppendLine(String, Boolean)
          • LastAppended()
          • LastIndexOf()
        • String Extensions
          • ToEnum<TEnumType>(Boolean)
          • ParseReadableTimeSpan()
        • TimeSpan Extensions
          • ToReadableString(Boolean, Format)
      • SLNet Types
        • DMSMessage Extensions
          • CastDMSMessage<T>(DMSMessage[])
      • Files
        • Documents
          • GetDocumentPaths(String, String[])
          • GetProtocolFolderName(String)
          • GetSafeFilename(String, Char)
        • XmlParser
          • ParseXml(String, String)
          • ParseXml(String)
    • Protocol
      • Logger
        • Logger(String, LogType, Int32)
        • Logger(Exception, LogType, Int32)
        • Logger(String, Object, LogType, Int32)
        • Logger(String, Object, Object, LogType, Int32)
        • Logger(String, Object, Object, Object, LogType, Int32)
        • Logger(String, Object[], LogType, Int32)
        • Logger(Boolean, LogType, Int32)
        • Logger(Char, LogType, Int32)
        • Logger(Char[], LogType, Int32)
        • Logger(Char[], Int32, Int32, LogType, Int32)
        • Logger(Double, LogType, Int32)
        • Logger(Decimal, LogType, Int32)
        • Logger(Single, LogType, Int32)
        • Logger(Int32, LogType, Int32)
        • Logger(UInt32, LogType, Int32)
        • Logger(Int64, LogType, Int32)
        • Logger(UInt64, LogType, Int32)
        • Logger(Object, LogType, Int32)
      • SLNet
        • SendDmsFileChange(Engine, String)
        • ChangeCommunicationState(Engine, Int32, Int32, Boolean)
        • GetInfo<T>(Engine, InfoTypeSingle)
        • GetInfo<T>(Engine, InfoTypeArray)
        • AddDocument(Engine, String, String, Byte[])
Powered by GitBook
On this page
  1. Reference
  2. Automation
  3. Logger

Logger(Object, LogType, Int32)

Logs the text representation of the specified object.

PreviousLogger(UInt64, LogType, Int32)NextSLNet

Last updated 2 years ago

Declaration
public static void Logger(object value, LogType logType, int logLevel)
Example
var dt = (object)new DateTime(1, 1, 1, 9, 52, 45);

engine.Logger(dt, LogType.Information, -1);
Result
Information|-1|ID0|Logger_Object_Test|01/01/0001 9:52:45 AM
Type
Name
Description

value

The value to write.

logType

Specifies the log type.

logLevel

Specifies the log level.

Object
LogType
Int32