exercism/cpp/log-levels/HINTS.md

1.1 KiB

Hints

General

1. Get the message from a log line

  • The built-in methods offer some ways to find text in a string.
  • The built-in methods can help us get a portion of a string

2. Get the log level from a log line

There are several ways to concatenate strings, the simplest is using the + operator but there are more advanced ways as well.