# Functions
AsJSON returns a new stringer object that delays marshaling until the String method is called.
AsYAML returns a new stringer object that delays marshaling until the String method is called.
AsYAMLDiff returns a new stringer object that delays marshaling and diffing until the String method is called.
AsYAMLDiffWithScheme is similar to AsYAMLDiff, except it allows specifying which scheme to use to encode the objects, instead of defaulting to the global `core.Scheme`.
AsYAMLWithScheme is similar to AsYAML, except it allows specifying which scheme to use to encode the object, instead of defaulting to the global `core.Scheme`.
HandleError prints the error to the standard error, prints the usage if the `printUsage` flag is true, exports the error to the error file and exits the process with the exit code.
NewLogger returns logr implemented logr.Logger.
Setup sets up default logging configs for Nomos applications and logs the preamble.