OnixS ICE iMpact Multicast Price Feed Handler C++ library 8.18.0
API documentation
Loading...
Searching...
No Matches
LogSettings.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Onix Solutions Limited. All rights reserved.
3 *
4 * This software owned by Onix Solutions Limited and is protected by copyright law
5 * and international copyright treaties.
6 *
7 * Access to and use of the software is governed by the terms of the applicable ONIXS Software
8 * Services Agreement (the Agreement) and Customer end user license agreements granting
9 * a non-assignable, non-transferable and non-exclusive license to use the software
10 * for it's own data processing purposes under the terms defined in the Agreement.
11 *
12 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
13 * of this source code or associated reference material to any other location for further reproduction
14 * or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15 *
16 * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17 * the terms of the Agreement is a violation of copyright law.
18 */
19
20#pragma once
21
22#include "Export.h"
23
24#include <string>
25
26namespace OnixS { namespace ICE { namespace iMpact { namespace MarketData {
27
29struct ONIXS_ICEMDH_EXPORT LogLevels
30{
40
42 static const char* toString(Enum state);
43};
44
47
49struct ONIXS_ICEMDH_EXPORT AdvancedLogOptions
50{
52 enum Enum
53 {
55 LogNothing = 0x00,
56
59
64
69 Async = 0x04,
70
72 LocalTime = 0x40,
73
76
79 };
80
82 static std::string toString(Enum state);
83};
84
86typedef unsigned AdvancedLogOptionSet;
87
88}}}} // namespace OnixS::ICE::iMpact::MarketData
unsigned AdvancedLogOptionSet
Additional options to control log information.
Definition LogSettings.h:86
LogLevels::Enum LogLevel
Log level alias.
Definition LogSettings.h:46
Additional options to control log information.
Definition LogSettings.h:50
Enum
Additional options to control log information.
Definition LogSettings.h:53
@ LocalTime
Use local time instead of UTC.
Definition LogSettings.h:72
@ LogNothing
Nothing except standard information must be logged.
Definition LogSettings.h:55
@ RotateOnRestart
Rotate log file on restart of the Handler.
Definition LogSettings.h:75
static std::string toString(Enum state)
Returns string representation of a state.
@ Fatal
Fatal error, cannot continue.
Definition LogSettings.h:33
@ Warning
User or logic error, just say about it.
Definition LogSettings.h:35
@ Error
System error, but we can go on.
Definition LogSettings.h:34
static const char * toString(Enum state)
Returns string representation of a state.