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(Char[], Int32, Int32, LogType, Int32)

Logs the specified sub-array of Unicode characters, followed by the current line terminator.

PreviousLogger(Char[], LogType, Int32)NextLogger(Double, LogType, Int32)

Last updated 2 years ago

Declaration
public static void Logger(char[] buffer, int index, int count, LogType logType, int logLevel)
Example
engine.Logger(new char[] { 'B', 'A', '*', '-' }, 1, 2, LogType.Debug, 0);
Result
Debug|0|ID0|Logger_Char_Sub_Array_Test|A*
Type
Name
Description

[]

buffer

A Unicode character array.

index

The starting position in buffer.

count

The number of characters to write.

logType

Specifies the log type.

logLevel

Specifies the log level.

Char
Int32
Int32
LogType
Int32