Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F554975
Logger.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
657 B
Subscribers
None
Logger.h
View Options
#pragma once
#include
<windows.h>
class
Logger
{
public
:
virtual
void
log
(
const
WCHAR
*
format
,
...);
virtual
void
log
(
const
CHAR
*
format
,
...);
protected
:
virtual
void
write
(
const
WCHAR
*
str
)
=
0
;
virtual
void
write
(
const
CHAR
*
str
);
};
class
FileLog
:
public
Logger
{
public
:
FileLog
(
const
WCHAR
*
fileName
);
private
:
void
write
(
const
WCHAR
*
str
);
void
write
(
const
CHAR
*
str
);
WCHAR
filePath
[
MAX_PATH
];
};
class
ListboxLog
:
public
Logger
{
public
:
ListboxLog
()
:
window
(
0
)
{
}
ListboxLog
(
HWND
window
);
void
setWindow
(
HWND
window
);
private
:
void
write
(
const
WCHAR
*
str
);
//void write(const CHAR * str);
HWND
window
;
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Wed, Feb 11, 4:44 AM (1 d, 17 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e4/b7/3a1225bf730bc544e1ee3a76d12c
Attached To
rSCY Scylla
Event Timeline
Log In to Comment