aboutsummaryrefslogtreecommitdiffhomepage
path: root/tdactor/example
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2019-02-21 18:58:20 +0300
committerlevlam <levlam@telegram.org>2019-02-21 18:58:20 +0300
commit93494cf04812aac4ab4307d44900a807304de16f (patch)
tree75370b846429071abc7468420a2e3df251b9a306 /tdactor/example
parent2e144e6e3e05584e61b2d91b361a038404b79be1 (diff)
Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
Diffstat (limited to 'tdactor/example')
-rw-r--r--tdactor/example/example.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdactor/example/example.cpp b/tdactor/example/example.cpp
index 7c9cb0833..f2b3f0241 100644
--- a/tdactor/example/example.cpp
+++ b/tdactor/example/example.cpp
@@ -12,21 +12,21 @@
class Worker : public td::Actor {
public:
void ping(int x) {
- LOG(ERROR) << "got ping " << x;
+ LOG(ERROR) << "Got ping " << x;
}
};
class MainActor : public td::Actor {
public:
void start_up() override {
- LOG(ERROR) << "start up";
+ LOG(ERROR) << "Start up";
set_timeout_in(10);
worker_ = td::create_actor_on_scheduler<Worker>("Worker", 1);
send_closure(worker_, &Worker::ping, 123);
}
void timeout_expired() override {
- LOG(ERROR) << "timeout expired";
+ LOG(ERROR) << "Timeout expired";
td::Scheduler::instance()->finish();
}