Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
0174c3ec
Commit
0174c3ec
authored
Dec 20, 2014
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Небольшие правки форматирования
parent
60d5661c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
LogServerTypes.h
include/LogServerTypes.h
+3
-3
LogSession.h
include/LogSession.h
+1
-1
No files found.
include/LogServerTypes.h
View file @
0174c3ec
...
...
@@ -10,12 +10,12 @@ namespace LogServerTypes
const
unsigned
int
MAGICNUM
=
0x20140904
;
enum
Command
{
cmdNOP
,
/*!< отсутствие команды */
cmdNOP
,
/*!< отсутствие команды */
cmdSetLevel
,
/*!< установить уровень вывода */
cmdAddLevel
,
/*!< добавить уровень вывода */
cmdDelLevel
,
/*!< удалить уровень вывода */
cmdRotate
,
/*!< пересоздать файл с логами */
cmdOffLogFile
,
/*!< отключить запись файла логов (если включена) */
cmdRotate
,
/*!< пересоздать файл с логами */
cmdOffLogFile
,
/*!< отключить запись файла логов (если включена) */
cmdOnLogFile
/*!< включить запись файла логов (если была отключена) */
// cmdSetLogFile
};
...
...
include/LogSession.h
View file @
0174c3ec
...
...
@@ -15,7 +15,7 @@ class LogSession:
{
public
:
LogSession
(
ost
::
TCPSocket
&
server
,
DebugStream
*
log
,
timeout_t
sessTimeout
=
10000
,
timeout_t
cmdTimeout
=
2000
,
timeout_t
outTimeout
=
2000
,
timeout_t
delay
=
2000
);
LogSession
(
ost
::
TCPSocket
&
server
,
DebugStream
*
log
,
timeout_t
sessTimeout
=
10000
,
timeout_t
cmdTimeout
=
2000
,
timeout_t
outTimeout
=
2000
,
timeout_t
delay
=
2000
);
virtual
~
LogSession
();
typedef
sigc
::
slot
<
void
,
LogSession
*>
FinalSlot
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment