-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathOperationLog.h
More file actions
25 lines (17 loc) · 593 Bytes
/
OperationLog.h
File metadata and controls
25 lines (17 loc) · 593 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once
#include "Operation.h"
#include "Helpers.h"
class OperationLog final : public Operation
{
// statics used by command registration utility
static std::wstring GetCommand() { return L"Log"; }
static ClassFactory<OperationLog> RegisteredFactory;
static SmartPointer<HANDLE> hLogHandle;
public:
// constructors
OperationLog(std::queue<std::wstring> & oArgList, const std::wstring & sCommand);
// destructor
~OperationLog() override;
// functions
static void LogFileItem(const std::wstring & sInfoLevel, const std::wstring & sPath, const std::wstring & sMessage);
};