File tree 2 files changed +6
-6
lines changed
include/opentelemetry/sdk/logs
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ namespace logs
16
16
* ScopeConfigurator should be used to compute the desired LoggerConfig which can then be used to
17
17
* configure a Logger.
18
18
*/
19
- class LoggerConfig
19
+ class OPENTELEMETRY_EXPORT LoggerConfig
20
20
{
21
21
public:
22
22
bool operator ==(const LoggerConfig &other) const noexcept ;
Original file line number Diff line number Diff line change @@ -9,28 +9,28 @@ namespace sdk
9
9
namespace logs
10
10
{
11
11
12
- bool LoggerConfig::operator ==(const LoggerConfig &other) const noexcept
12
+ OPENTELEMETRY_EXPORT bool LoggerConfig::operator ==(const LoggerConfig &other) const noexcept
13
13
{
14
14
return disabled_ == other.disabled_ ;
15
15
}
16
16
17
- bool LoggerConfig::IsEnabled () const noexcept
17
+ OPENTELEMETRY_EXPORT bool LoggerConfig::IsEnabled () const noexcept
18
18
{
19
19
return !disabled_;
20
20
}
21
21
22
- LoggerConfig LoggerConfig::Enabled ()
22
+ OPENTELEMETRY_EXPORT LoggerConfig LoggerConfig::Enabled ()
23
23
{
24
24
return Default ();
25
25
}
26
26
27
- LoggerConfig LoggerConfig::Disabled ()
27
+ OPENTELEMETRY_EXPORT LoggerConfig LoggerConfig::Disabled ()
28
28
{
29
29
static const auto kDisabledConfig = LoggerConfig (true );
30
30
return kDisabledConfig ;
31
31
}
32
32
33
- LoggerConfig LoggerConfig::Default ()
33
+ OPENTELEMETRY_EXPORT LoggerConfig LoggerConfig::Default ()
34
34
{
35
35
static const auto kDefaultConfig = LoggerConfig ();
36
36
return kDefaultConfig ;
You can’t perform that action at this time.
0 commit comments