//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
static const int _MAX_LINE_LENGTH = 4096;
-#define _MAX_OPENMODE_LENGTH 3
-
_NormalFile::_NormalFile(void)
: __pFile(NULL)
{
if (pFile == null)
{
r = __ConvertNativeErrorToResult(errno);
- SysLogException(NID_IO, r, "[%s] Failed to open file (%s) in openMode (%s), errno: %d (%s).",
+ SysSecureLogException(NID_IO, r, "[%s] Failed to open file (%s) in openMode (%s), errno: %d (%s).",
GetErrorMessage(r), pFilePath.get(), pOpenMode, errno, strerror(errno));
return r;
}