Make the name of the event source for SYSLOG configurable.

In order to allow this code to properly operate for all Chromium and Chrome flavors (e.g. Stable, Beta, Canary etc.) it is important to allow for different source names for the Event Logger.

The default behavior of SYSLOG now is equivalent to a LOG unless
SetEventSourceName is called at which point the function can start
logging to the Event Log as well.

For Branded Chrome build the event source stays Chrome for the Stable channel and will have the proper appendix for the various other channels whereas for non-branded build it will be Chromium.

BUG=668397
TEST=none

Review-Url: https://codereview.chromium.org/2530163002
Cr-Commit-Position: refs/heads/master@{#436994}


CrOS-Libchrome-Original-Commit: a3eac43eeb3dc4bb862e6e27e9d12f7250428804
2 files changed
tree: 091b2cd71c801b92a2c5f8e3810095b283b22e30
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/