~albaguirre/mir/fix-not-compositing-client-last-posted-buffer-trunk

« back to all changes in this revision

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

  • Committer: CI bot
  • Author(s): Alan Griffiths, Daniel van Vugt, Kevin Gunn
  • Date: 2014-02-04 14:48:34 UTC
  • mfrom: (1171.1.5 trunk-0.1.4)
  • Revision ID: ps-jenkins@lists.canonical.com-20140204144834-5mg3goxsp5pw1wq4
Latest upstream release: Mir 0.1.4 (lp:~mir-team/mir/development-branch r1366) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
#include "mir/logging/input_report.h"
20
20
#include "mir/logging/logger.h"
 
21
#include "mir/logging/input_timestamp.h"
21
22
 
22
23
#include "std/MirLog.h"
23
24
#include <std/Log.h>
108
109
    std::stringstream ss;
109
110
 
110
111
    ss << "Received event"
111
 
       << " time=" << when
 
112
       << " time=" << ml::input_timestamp(when)
112
113
       << " type=" << type
113
114
       << " code=" << code
114
115
       << " value=" << value;
122
123
 
123
124
    ss << "Published key event"
124
125
       << " seq_id=" << seq_id
125
 
       << " time=" << event_time
 
126
       << " time=" << ml::input_timestamp(event_time)
126
127
       << " dest_fd=" << dest_fd;
127
128
 
128
129
    logger->log(Logger::informational, ss.str(), component());
134
135
 
135
136
    ss << "Published motion event"
136
137
       << " seq_id=" << seq_id
137
 
       << " time=" << event_time
 
138
       << " time=" << ml::input_timestamp(event_time)
138
139
       << " dest_fd=" << dest_fd;
139
140
 
140
141
    logger->log(Logger::informational, ss.str(), component());