func (manager *LoggerManager) LogsBufferLength() uint64 {
    JSONBuffer, err := json.Marshal(manager.LogsBuffer)
    if err != nil {
        DebugLogger.Println("Can't convert to JSON: ", err)
        return 0
    }
    return uint64(len(JSONBuffer))
}
// LogsBufferLength calculate buffer length in bytes
LogsBufferLength calculate buffer length in bytes
// LogsBufferLength calculate buffer length in bytes
func (manager *LoggerManager) LogsBufferLength() uint64 {
    JSONBuffer, err := json.Marshal(manager.LogsBuffer)
    if err != nil {
        DebugLogger.Println("Can't convert to JSON: ", err)
        return 0
    }
    return uint64(len(JSONBuffer))
}
func ( manager * LoggerManager ) LogsBufferLength ( ) uint64 { JSONBuffer , err := json . Marshal ( manager . LogsBuffer ) if err != nil { DebugLogger . Println ( " " , err ) return 0 } return uint64 ( len ( JSONBuffer ) ) }
LogsBufferLength calculate buffer length in bytes
LogsBufferLength calculate buffer length in bytes