MCPcopy Create free account
hub / github.com/apache/mesos / getLoggingLevel

Method getLoggingLevel

src/master/http.cpp:1654–1667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1652
1653
1654Future<Response> Master::Http::getLoggingLevel(
1655 const mesos::master::Call& call,
1656 const Option<Principal>& principal,
1657 ContentType contentType) const
1658{
1659 CHECK_EQ(mesos::master::Call::GET_LOGGING_LEVEL, call.type());
1660
1661 mesos::master::Response response;
1662 response.set_type(mesos::master::Response::GET_LOGGING_LEVEL);
1663 response.mutable_get_logging_level()->set_level(FLAGS_v);
1664
1665 return OK(serialize(contentType, evolve(response)),
1666 stringify(contentType));
1667}
1668
1669
1670Future<Response> Master::Http::setLoggingLevel(

Callers

nothing calls this directly

Calls 6

OKClass · 0.85
typeMethod · 0.80
set_levelMethod · 0.80
serializeFunction · 0.50
evolveFunction · 0.50
stringifyFunction · 0.50

Tested by

no test coverage detected