// Generated by https://github.com/foxglove/foxglove-sdk

syntax = "proto3";

package foxglove;

message Time {
  fixed32 sec = 1;
  fixed32 nsec = 2;
}

// A log message
message Log {
  // Log level
  enum Level {
    // Unknown log level
    UNKNOWN = 0;

    // Debug log level
    DEBUG = 1;

    // Info log level
    INFO = 2;

    // Warning log level
    WARNING = 3;

    // Error log level
    ERROR = 4;

    // Fatal log level
    FATAL = 5;
  }
  // Timestamp of log message
  Time timestamp = 1;

  // Log level
  Level level = 2;

  // Log message
  string message = 3;

  // Process or node name
  string name = 4;

  // Filename
  string file = 5;

  // Line number in the file
  fixed32 line = 6;
}
