# Logging

If you run into issues when using Simplygon you should always check the log for clues.
You can access the log in following ways:

# Log to stdout

If you want to get the log from stdout you should enable logging as soon as you initialize the Simplygon interface.

    # Log to file

    If you want to get the log from a file you should enable logging as soon as you initialize the Simplygon interface.

        # Errors and Warnings

        If you want to access errors and warnings from the log directly in code you can use the following code.