# FixBuild Documentation

Back to summary

## Execution environment

### Global functions

#### Embedded resources

`function get_resource(fname: String): Byte[]`
  Returns the resource data as a shared array of bytes.
`function get_resource_string(fname: String): String`
  A variant of the `get_resource` function to return the data as a string type (no charset conversion is done).
`function get_resource_list(): String[]`
  Returns a list of all stored resource file names.

#### Custom logging

`function set_log_function(func)`
  Sets a new logging function. The logging function receives a single parameter, it should convert any non-string values into a string using the `to_string` built-in function. The function must not use the `log` function to produce an output, instead you need to use the `println` or `println_err` functions (from FixIO) or use other means of producing an output. To revert back to the default logging function just pass `null` as a function.