# google-cloud-debugger - Class Google::Cloud::Debugger::Logpoint (v0.42.2)

Reference documentation and code samples for the google-cloud-debugger class Google::Cloud::Debugger::Logpoint.

## Logpoint

A kind of [Breakpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger/latest/Google-Cloud-Debugger-Breakpoint "Google::Cloud::Debugger::Breakpoint (class)") that can be evaluated
to generate a formatted log string, which later can be submitted to
Stackdriver Logging service

## Inherits

- [Google::Cloud::Debugger::Breakpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger/latest/Google-Cloud-Debugger-Breakpoint)

## Methods

### #evaluate

    def evaluate(call_stack_bindings) -> Boolean

Evaluate the breakpoint unless it's already marked as completed.
Store evaluted expressions and stack frame variables in
`@evaluated_expressions` and `@evaluated_log_message`.
**Parameter**

- **call_stack_bindings** (Array\<Binding\>) --- An array of Ruby Binding objects, from the call stack that leads to the triggering of the breakpoints.
**Returns**

- (Boolean) --- True if evaluated successfully; false otherwise.