Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
WindowsEventLogOutputDevice.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#
pragma
once
4
5
#
include
"CoreTypes.h"
6
#
include
"Misc/OutputDevice.h"
7
#
include
"Windows/MinimalWindowsApi.h"
8
9
class
FName
;
10
11
/**
12
* Output device that writes to Windows Event Log
13
*/
14
class
FWindowsEventLogOutputDevice
15
:
public
FOutputDevice
16
{
17
/** Handle to the event log object */
18
Windows
::
HANDLE
EventLog
;
19
20
public
:
21
/**
22
* Constructor, initializing member variables
23
*/
24
FWindowsEventLogOutputDevice
();
25
26
/** Destructor that cleans up any remaining resources */
27
virtual
~
FWindowsEventLogOutputDevice
();
28
29
virtual
void
Serialize
(
const
TCHAR* Buffer,
ELogVerbosity
::
Type
Verbosity,
const
class
FName
& Category)
override
;
30
31
/** Does nothing */
32
virtual
void
Flush
(
void
);
33
34
/**
35
* Closes any event log handles that are open
36
*/
37
virtual
void
TearDown
(
void
);
38
};
FName
Definition
NameTypes.h:601
FOutputDevice
Definition
OutputDevice.h:130
FWindowsEventLogOutputDevice
Definition
WindowsEventLogOutputDevice.h:16
FWindowsEventLogOutputDevice::Serialize
virtual void Serialize(const TCHAR *Buffer, ELogVerbosity::Type Verbosity, const class FName &Category) override
FWindowsEventLogOutputDevice::EventLog
Windows::HANDLE EventLog
Definition
WindowsEventLogOutputDevice.h:18
FWindowsEventLogOutputDevice::~FWindowsEventLogOutputDevice
virtual ~FWindowsEventLogOutputDevice()
FWindowsEventLogOutputDevice::Flush
virtual void Flush(void)
FWindowsEventLogOutputDevice::TearDown
virtual void TearDown(void)
FWindowsEventLogOutputDevice::FWindowsEventLogOutputDevice
FWindowsEventLogOutputDevice()
ELogVerbosity
Definition
AssertionMacros.h:31
ELogVerbosity::Type
Type
Definition
LogVerbosity.h:17
Windows
Definition
MinimalWindowsApi.h:62
Windows::HANDLE
void * HANDLE
Definition
MinimalWindowsApi.h:78
Downloads
ArkServerAPI_NEW
ASA
AsaApi
AsaApi
Core
Public
API
UE
Windows
WindowsEventLogOutputDevice.h
Generated by
1.10.0