Skip to content

System.ArgumentOutOfRangeException #208

@bluetianx

Description

@bluetianx

Hi, firstly, thank you for developing the great logger NuGet package! There is an InternalError logged with InternalErrorLogger,

System.ArgumentOutOfRangeException : Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection. (Parameter 'count')
   at ZLogger.Internal.StreamBufferWriter.Flush()
   at Utf8StringInterpolation.Utf8StringWriter`1.GrowCore(Int32 len)
   at ZLogger.MessageTemplate.Format[T0,T1,T2,T3,T4,T5,T6,T7](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
   at ZLogger.Formatters.PlainTextZLoggerFormatter.FormatLogEntry(IBufferWriter`1 writer, IZLoggerEntry entry)
   at ZLogger.AsyncStreamLineMessageWriter.WriteLoop()

Extror Info

Zlogger version: 2.5.10
OS: Linux
NetCore: DotnetCore 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions