~ubuntu-branches/ubuntu/wily/mir/wily-proposed

« back to all changes in this revision

Viewing changes to src/server/report/logging/input_report.cpp

  • Committer: Package Import Robot
  • Author(s): CI Train Bot
  • Date: 2015-05-12 13:12:55 UTC
  • mto: This revision was merged to the branch mainline in revision 96.
  • Revision ID: package-import@ubuntu.com-20150512131255-y7z12i8n4pbvo70x
Tags: upstream-0.13.0+15.10.20150512
ImportĀ upstreamĀ versionĀ 0.13.0+15.10.20150512

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
 
155
155
    logger->log(ml::Severity::informational, ss.str(), component());
156
156
}
 
157
 
 
158
void mrl::InputReport::opened_input_device(char const* device_name, char const* input_platform)
 
159
{
 
160
    std::stringstream ss;
 
161
 
 
162
    ss << "Input device opened "
 
163
       << " name=" << device_name
 
164
       << " platform=" << input_platform;
 
165
 
 
166
    logger->log(ml::Severity::informational, ss.str(), component());
 
167
}
 
168
 
 
169
void mrl::InputReport::failed_to_open_input_device(char const* device_name, char const* input_platform)
 
170
{
 
171
    std::stringstream ss;
 
172
 
 
173
    ss << "Failure opening input device "
 
174
       << " name=" << device_name
 
175
       << " platform=" << input_platform;
 
176
 
 
177
    logger->log(ml::Severity::informational, ss.str(), component());
 
178
}