~kgunn72/mir/dont-crash-when-shooting-invalid-surface

« back to all changes in this revision

Viewing changes to src/server/scene/scene_report.cpp

  • Committer: Tarmac
  • Author(s): Alan Griffiths, Alexandros Frantzis, Daniel van Vugt, Kevin DuBois, Christopher James Halse Rogers, chris.gagnon, Mathieu Trudel-Lapierre, Robert Carr, Automatic PS uploader, Kevin Gunn, Daniel d'Andrada, Christopher James Halse Rogers, Michael Terry, Brandon Schaefer, Timo Jyrinki, Mir Team, Andreas Pokorny
  • Date: 2013-12-20 11:11:22 UTC
  • mfrom: (1169.1.1 version-0.1.3)
  • Revision ID: tarmac-20131220111122-h503fd1fnq7pn9za
Latest upstream release: Mir 0.1.3 (r1298).

Approved by Alan Griffiths, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    std::stringstream ss;
51
51
    ss << "surface_created(" << surface << " [\"" << surface->name() << "\"])";
52
52
 
53
 
    logger->log<Logger::informational>(ss.str(), component);
 
53
    logger->log(Logger::informational, ss.str(), component);
54
54
}
55
55
 
56
56
void ml::SceneReport::surface_added(ms::BasicSurface* const surface)
73
73
 
74
74
    ss << " - INFO surface count=" << surfaces.size();
75
75
 
76
 
    logger->log<Logger::informational>(ss.str(), component);
 
76
    logger->log(Logger::informational, ss.str(), component);
77
77
}
78
78
 
79
79
void ml::SceneReport::surface_removed(ms::BasicSurface* const surface)
96
96
 
97
97
    ss << " - INFO surface count=" << surfaces.size();
98
98
 
99
 
    logger->log<Logger::informational>(ss.str(), component);
 
99
    logger->log(Logger::informational, ss.str(), component);
100
100
}
101
101
 
102
102
void ml::SceneReport::surface_deleted(ms::BasicSurface* const surface)
122
122
 
123
123
    ss << " - INFO surface count=" << surfaces.size() << std::endl;
124
124
 
125
 
    logger->log<Logger::informational>(ss.str(), component);
 
125
    logger->log(Logger::informational, ss.str(), component);
126
126
}