Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
BufferedOutputDevice.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Containers/Array.h"
6#include "CoreTypes.h"
7#include "HAL/CriticalSection.h"
8#include "Logging/LogVerbosity.h"
9#include "Misc/OutputDevice.h"
10#include "Misc/OutputDeviceRedirector.h"
11
12/** Buffered output device. */
14{
15protected:
19
20public:
21 void SetVerbosity(ELogVerbosity::Type Verbosity) { FilterLevel = Verbosity; }
22 void Serialize(const TCHAR* InData, ELogVerbosity::Type Verbosity, const FName& Category) override;
23 void GetContents(TArray<FBufferedLine>& DestBuffer);
24
25 /** Pushes buffered lines into the specified output device. */
27};
FWindowsCriticalSection FCriticalSection
void Serialize(const TCHAR *InData, ELogVerbosity::Type Verbosity, const FName &Category) override
ELogVerbosity::Type FilterLevel
void GetContents(TArray< FBufferedLine > &DestBuffer)
void RedirectTo(FOutputDevice &Ar)
FCriticalSection SynchronizationObject
TArray< FBufferedLine > BufferedLines
void SetVerbosity(ELogVerbosity::Type Verbosity)