1
0

Implement EventLevel

This commit is contained in:
Scott E. Graves
2017-04-05 12:31:39 -05:00
parent 03f93c087c
commit 444c137203
3 changed files with 29 additions and 15 deletions

View File

@@ -154,6 +154,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanCreateFile :
{
public:
DokanCreateFile(const SString& filePath, const DWORD& fileAttributesAndFlags, const DWORD& creationDisposition, const ACCESS_MASK& genericDesiredAccess, const NTSTATUS& returnStatus) :
CEvent(EventLevel::Debug),
_filePath(filePath),
_fileAttributesAndFlags(fileAttributesAndFlags),
_creationDisposition(creationDisposition),
@@ -197,6 +198,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanFindFiles :
{
public:
DokanFindFiles(const SString& cachePath, const SString& rootPath, const SString& siaQuery, const SString& findFile, const SString& fileName) :
CEvent(EventLevel::Debug),
_cachePath(cachePath),
_rootPath(rootPath),
_siaQuery(siaQuery),
@@ -233,12 +235,12 @@ public:
}
};
class SIADRIVE_DOKAN_EXPORTABLE DokanCloseFile :
public CEvent
{
public:
DokanCloseFile(const SString& cachePath) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
{
}
@@ -269,6 +271,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanGetFileInformation :
{
public:
DokanGetFileInformation(const SString& cachePath, const SString& fileName, const NTSTATUS& result) :
CEvent(EventLevel::Debug),
_cachePath(cachePath),
_fileName(fileName),
_result(result)
@@ -303,6 +306,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanReadFile :
{
public:
DokanReadFile(const SString& cachePath) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
{
}
@@ -333,6 +337,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanWriteFile :
{
public:
DokanWriteFile(const SString& cachePath) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
{
}
@@ -363,6 +368,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanSetEndOfFile :
{
public:
DokanSetEndOfFile(const SString& cachePath) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
{
}
@@ -393,6 +399,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanFlushFileBuffers :
{
public:
DokanFlushFileBuffers(const SString& cachePath) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
{
}
@@ -453,6 +460,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanDeleteFileW :
{
public:
DokanDeleteFileW(const SString& cachePath) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
{
}
@@ -483,6 +491,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanSetFileAttributesW :
{
public:
DokanSetFileAttributesW(const SString& cachePath) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
{
}
@@ -513,6 +522,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanGetFileAttributesW :
{
public:
DokanGetFileAttributesW(const SString& cachePath) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
{
}
@@ -543,6 +553,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanSetFileSecurityW :
{
public:
DokanSetFileSecurityW(const SString& cachePath) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
{
}
@@ -573,6 +584,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanSetFileTime :
{
public:
DokanSetFileTime(const SString& cachePath) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
{
}
@@ -603,6 +615,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanSetAllocationSize :
{
public:
DokanSetAllocationSize(const SString& cachePath) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
{
}
@@ -633,6 +646,7 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanMoveFileW :
{
public:
DokanMoveFileW(const SString& srcPath, const SString& destPath) :
CEvent(EventLevel::Debug),
_srcPath(srcPath),
_destPath(destPath)
{