FFriZz

Log

FFriZz Telah dikemas kini   
Library "Log"
- Log methods that return input value for code readbility and cleaness.

method str(input)
  str
  Namespace types: series float, simple float, input float, const float
  Parameters:
    input (float)

method str(input)
  str
  Namespace types: series int, simple int, input int, const int
  Parameters:
    input (int)

method str(input)
  str
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    input (bool)

method str(input)
  str
  Namespace types: series string, simple string, input string, const string
  Parameters:
    input (string)

method str(input)
  str
  Namespace types: series linefill
  Parameters:
    input (linefill)

method str(input)
  str
  Namespace types: series line
  Parameters:
    input (line)

method str(input)
  str
  Namespace types: series box
  Parameters:
    input (box)

method str(input)
  str
  Namespace types: series label
  Parameters:
    input (label)

method str(input)
  str
  Namespace types: chart.point
  Parameters:
    input (chart.point)

method str(input)
  str
  Namespace types: array<float>
  Parameters:
    input (array<float>)

method str(input)
  str
  Namespace types: array<int>
  Parameters:
    input (array<int>)

method str(input)
  str
  Namespace types: array<bool>
  Parameters:
    input (array<bool>)

method str(input)
  str
  Namespace types: array<string>
  Parameters:
    input (array<string>)

method str(input)
  str
  Namespace types: array<linefill>
  Parameters:
    input (array<linefill>)

method str(input)
  str
  Namespace types: array<line>
  Parameters:
    input (array<line>)

method str(input)
  str
  Namespace types: array<box>
  Parameters:
    input (array<box>)

method str(input)
  str
  Namespace types: array<label>
  Parameters:
    input (array<label>)

method str(input)
  str
  Namespace types: array<chart.point>
  Parameters:
    input (array<chart.point>)

method str(input)
  str
  Namespace types: matrix<float>
  Parameters:
    input (matrix<float>)

method str(input)
  str
  Namespace types: matrix<int>
  Parameters:
    input (matrix<int>)

method str(input)
  str
  Namespace types: matrix<bool>
  Parameters:
    input (matrix<bool>)

method str(input)
  str
  Namespace types: matrix<string>
  Parameters:
    input (matrix<string>)

method str(input)
  str
  Namespace types: matrix<linefill>
  Parameters:
    input (matrix<linefill>)

method str(input)
  str
  Namespace types: matrix<line>
  Parameters:
    input (matrix<line>)

method str(input)
  str
  Namespace types: matrix<box>
  Parameters:
    input (matrix<box>)

method str(input)
  str
  Namespace types: matrix<label>
  Parameters:
    input (matrix<label>)

method str(input)
  Namespace types: matrix<chart.point>
  Parameters:
    input (matrix<chart.point>)

method info(input, msg)
  Logs the input value with the 'info' log level.
  Namespace types: chart.point
  Parameters:
    input (chart.point): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method info(input, msg)
  Logs the input value with the 'info' log level.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    input (float): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method info(input, msg)
  Logs the input value with the 'info' log level.
  Namespace types: series int, simple int, input int, const int
  Parameters:
    input (int): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method info(input, msg)
  Logs the input value with the 'info' log level.
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    input (bool): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method info(input, msg)
  Logs the input value with the 'info' log level.
  Namespace types: series string, simple string, input string, const string
  Parameters:
    input (string): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method info(input, msg)
  Logs the input value with the 'info' log level.
  Namespace types: series linefill
  Parameters:
    input (linefill): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method info(input, msg)
  Logs the input value with the 'info' log level.
  Namespace types: series line
  Parameters:
    input (line): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method info(input, msg)
  Logs the input value with the 'info' log level.
  Namespace types: series box
  Parameters:
    input (box): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method info(input, msg)
  Logs the input array with the 'info' log level.
  Namespace types: series label
  Parameters:
    input (label): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method info(input, msg)
  Logs the input array with the 'info' log level.
  Namespace types: array<chart.point>
  Parameters:
    input (array<chart.point>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method info(input, msg)
  Logs the input array with the 'info' log level.
  Namespace types: array<float>
  Parameters:
    input (array<float>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method info(input, msg)
  Logs the input array with the 'info' log level.
  Namespace types: array<int>
  Parameters:
    input (array<int>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method info(input, msg)
  Logs the input array with the 'info' log level.
  Namespace types: array<bool>
  Parameters:
    input (array<bool>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method info(input, msg)
  Logs the input array with the 'info' log level.
  Namespace types: array<string>
  Parameters:
    input (array<string>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method info(input, msg)
  Logs the input array with the 'info' log level.
  Namespace types: array<linefill>
  Parameters:
    input (array<linefill>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method info(input, msg)
  Logs the input array with the 'info' log level.
  Namespace types: array<line>
  Parameters:
    input (array<line>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method info(input, msg)
  Logs the input array with the 'info' log level.
  Namespace types: array<box>
  Parameters:
    input (array<box>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method info(input, msg)
  Logs the input matrix with the 'info' log level.
  Namespace types: array<label>
  Parameters:
    input (array<label>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method info(input, msg)
  Logs the input matrix with the 'info' log level.
  Namespace types: matrix<chart.point>
  Parameters:
    input (matrix<chart.point>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method info(input, msg)
  Logs the input matrix with the 'info' log level.
  Namespace types: matrix<float>
  Parameters:
    input (matrix<float>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method info(input, msg)
  Logs the input matrix with the 'info' log level.
  Namespace types: matrix<int>
  Parameters:
    input (matrix<int>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method info(input, msg)
  Logs the input matrix with the 'info' log level.
  Namespace types: matrix<bool>
  Parameters:
    input (matrix<bool>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method info(input, msg)
  Logs the input matrix with the 'info' log level.
  Namespace types: matrix<string>
  Parameters:
    input (matrix<string>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method info(input, msg)
  Logs the input matrix with the 'info' log level.
  Namespace types: matrix<linefill>
  Parameters:
    input (matrix<linefill>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method info(input, msg)
  Logs the input matrix with the 'info' log level.
  Namespace types: matrix<line>
  Parameters:
    input (matrix<line>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method info(input, msg)
  Logs the input matrix with the 'info' log level.
  Namespace types: matrix<box>
  Parameters:
    input (matrix<box>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method info(input, msg)
  Namespace types: matrix<label>
  Parameters:
    input (matrix<label>)
    msg (string)

method warn(input, msg)
  Logs the input value with the 'warning' log level.
  Namespace types: chart.point
  Parameters:
    input (chart.point): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method warn(input, msg)
  Logs the input value with the 'warning' log level.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    input (float): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method warn(input, msg)
  Logs the input value with the 'warning' log level.
  Namespace types: series int, simple int, input int, const int
  Parameters:
    input (int): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method warn(input, msg)
  Logs the input value with the 'warning' log level.
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    input (bool): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method warn(input, msg)
  Logs the input value with the 'warning' log level.
  Namespace types: series string, simple string, input string, const string
  Parameters:
    input (string): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method warn(input, msg)
  Logs the input value with the 'warning' log level.
  Namespace types: series linefill
  Parameters:
    input (linefill): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method warn(input, msg)
  Logs the input value with the 'warning' log level.
  Namespace types: series line
  Parameters:
    input (line): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method warn(input, msg)
  Logs the input value with the 'warning' log level.
  Namespace types: series box
  Parameters:
    input (box): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method warn(input, msg)
  Logs the input array with the 'warning' log level.
  Namespace types: series label
  Parameters:
    input (label): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method warn(input, msg)
  Logs the input array with the 'warning' log level.
  Namespace types: array<chart.point>
  Parameters:
    input (array<chart.point>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method warn(input, msg)
  Logs the input array with the 'warning' log level.
  Namespace types: array<float>
  Parameters:
    input (array<float>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method warn(input, msg)
  Logs the input array with the 'warning' log level.
  Namespace types: array<int>
  Parameters:
    input (array<int>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method warn(input, msg)
  Logs the input array with the 'warning' log level.
  Namespace types: array<bool>
  Parameters:
    input (array<bool>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method warn(input, msg)
  Logs the input array with the 'warning' log level.
  Namespace types: array<string>
  Parameters:
    input (array<string>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method warn(input, msg)
  Logs the input array with the 'warning' log level.
  Namespace types: array<linefill>
  Parameters:
    input (array<linefill>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method warn(input, msg)
  Logs the input array with the 'warning' log level.
  Namespace types: array<line>
  Parameters:
    input (array<line>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method warn(input, msg)
  Logs the input array with the 'warning' log level.
  Namespace types: array<box>
  Parameters:
    input (array<box>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method warn(input, msg)
  Logs the input matrix with the 'warning' log level.
  Namespace types: array<label>
  Parameters:
    input (array<label>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method warn(input, msg)
  Logs the input matrix with the 'warning' log level.
  Namespace types: matrix<chart.point>
  Parameters:
    input (matrix<chart.point>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method warn(input, msg)
  Logs the input matrix with the 'warning' log level.
  Namespace types: matrix<float>
  Parameters:
    input (matrix<float>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method warn(input, msg)
  Logs the input matrix with the 'warning' log level.
  Namespace types: matrix<int>
  Parameters:
    input (matrix<int>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method warn(input, msg)
  Logs the input matrix with the 'warning' log level.
  Namespace types: matrix<bool>
  Parameters:
    input (matrix<bool>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method warn(input, msg)
  Logs the input matrix with the 'warning' log level.
  Namespace types: matrix<string>
  Parameters:
    input (matrix<string>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method warn(input, msg)
  Logs the input matrix with the 'warning' log level.
  Namespace types: matrix<linefill>
  Parameters:
    input (matrix<linefill>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method warn(input, msg)
  Logs the input matrix with the 'warning' log level.
  Namespace types: matrix<line>
  Parameters:
    input (matrix<line>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method warn(input, msg)
  Logs the input matrix with the 'warning' log level.
  Namespace types: matrix<box>
  Parameters:
    input (matrix<box>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method warn(input, msg)
  Namespace types: matrix<label>
  Parameters:
    input (matrix<label>)
    msg (string)

method error(input, msg)
  Logs the input value with the 'error' log level.
  Namespace types: chart.point
  Parameters:
    input (chart.point): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method error(input, msg)
  Logs the input value with the 'error' log level.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    input (float): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method error(input, msg)
  Logs the input value with the 'error' log level.
  Namespace types: series int, simple int, input int, const int
  Parameters:
    input (int): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method error(input, msg)
  Logs the input value with the 'error' log level.
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    input (bool): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method error(input, msg)
  Logs the input value with the 'error' log level.
  Namespace types: series string, simple string, input string, const string
  Parameters:
    input (string): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method error(input, msg)
  Logs the input value with the 'error' log level.
  Namespace types: series linefill
  Parameters:
    input (linefill): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method error(input, msg)
  Logs the input value with the 'error' log level.
  Namespace types: series line
  Parameters:
    input (line): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method error(input, msg)
  Logs the input value with the 'error' log level.
  Namespace types: series box
  Parameters:
    input (box): The input value to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input value.

method error(input, msg)
  Logs the input array with the 'error' log level.
  Namespace types: series label
  Parameters:
    input (label): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method error(input, msg)
  Logs the input array with the 'error' log level.
  Namespace types: array<chart.point>
  Parameters:
    input (array<chart.point>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method error(input, msg)
  Logs the input array with the 'error' log level.
  Namespace types: array<float>
  Parameters:
    input (array<float>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method error(input, msg)
  Logs the input array with the 'error' log level.
  Namespace types: array<int>
  Parameters:
    input (array<int>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method error(input, msg)
  Logs the input array with the 'error' log level.
  Namespace types: array<bool>
  Parameters:
    input (array<bool>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method error(input, msg)
  Logs the input array with the 'error' log level.
  Namespace types: array<string>
  Parameters:
    input (array<string>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method error(input, msg)
  Logs the input array with the 'error' log level.
  Namespace types: array<linefill>
  Parameters:
    input (array<linefill>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method error(input, msg)
  Logs the input array with the 'error' log level.
  Namespace types: array<line>
  Parameters:
    input (array<line>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method error(input, msg)
  Logs the input array with the 'error' log level.
  Namespace types: array<box>
  Parameters:
    input (array<box>): The input array to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input array.

method error(input, msg)
  Logs the input matrix with the 'error' log level.
  Namespace types: array<label>
  Parameters:
    input (array<label>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method error(input, msg)
  Logs the input matrix with the 'error' log level.
  Namespace types: matrix<chart.point>
  Parameters:
    input (matrix<chart.point>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method error(input, msg)
  Logs the input matrix with the 'error' log level.
  Namespace types: matrix<float>
  Parameters:
    input (matrix<float>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method error(input, msg)
  Logs the input matrix with the 'error' log level.
  Namespace types: matrix<int>
  Parameters:
    input (matrix<int>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method error(input, msg)
  Logs the input matrix with the 'error' log level.
  Namespace types: matrix<bool>
  Parameters:
    input (matrix<bool>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method error(input, msg)
  Logs the input matrix with the 'error' log level.
  Namespace types: matrix<string>
  Parameters:
    input (matrix<string>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method error(input, msg)
  Logs the input matrix with the 'error' log level.
  Namespace types: matrix<linefill>
  Parameters:
    input (matrix<linefill>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method error(input, msg)
  Logs the input matrix with the 'error' log level.
  Namespace types: matrix<line>
  Parameters:
    input (matrix<line>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method error(input, msg)
  Logs the input matrix with the 'error' log level.
  Namespace types: matrix<box>
  Parameters:
    input (matrix<box>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
  Returns: The input matrix.

method error(input, msg)
  Namespace types: matrix<label>
  Parameters:
    input (matrix<label>)
    msg (string)

method log(input, msg, level)
  Logs the input value with the specified log level.
  Namespace types: chart.point
  Parameters:
    input (chart.point): The input value to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input value.

method log(input, msg, level)
  Logs the input value with the specified log level.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    input (float): The input value to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input value.

method log(input, msg, level)
  Logs the input value with the specified log level.
  Namespace types: series int, simple int, input int, const int
  Parameters:
    input (int): The input value to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input value.

method log(input, msg, level)
  Logs the input value with the specified log level.
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    input (bool): The input value to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input value.

method log(input, msg, level)
  Logs the input value with the specified log level.
  Namespace types: series string, simple string, input string, const string
  Parameters:
    input (string): The input value to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input value.

method log(input, msg, level)
  Logs the input value with the specified log level.
  Namespace types: series linefill
  Parameters:
    input (linefill): The input value to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input value.

method log(input, msg, level)
  Logs the input value with the specified log level.
  Namespace types: series line
  Parameters:
    input (line): The input value to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input value.

method log(input, msg, level)
  Logs the input value with the specified log level.
  Namespace types: series box
  Parameters:
    input (box): The input value to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input value.

method log(input, msg, level)
  Logs the input array with the specified log level.
  Namespace types: series label
  Parameters:
    input (label): The input array to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input array.

method log(input, msg, level)
  Logs the input array with the specified log level.
  Namespace types: array<chart.point>
  Parameters:
    input (array<chart.point>): The input array to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input array.

method log(input, msg, level)
  Logs the input array with the specified log level.
  Namespace types: array<float>
  Parameters:
    input (array<float>): The input array to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input array.

method log(input, msg, level)
  Logs the input array with the specified log level.
  Namespace types: array<int>
  Parameters:
    input (array<int>): The input array to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input array.

method log(input, msg, level)
  Logs the input array with the specified log level.
  Namespace types: array<bool>
  Parameters:
    input (array<bool>): The input array to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input array.

method log(input, msg, level)
  Logs the input array with the specified log level.
  Namespace types: array<string>
  Parameters:
    input (array<string>): The input array to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input array.

method log(input, msg, level)
  Logs the input array with the specified log level.
  Namespace types: array<linefill>
  Parameters:
    input (array<linefill>): The input array to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input array.

method log(input, msg, level)
  Logs the input array with the specified log level.
  Namespace types: array<line>
  Parameters:
    input (array<line>): The input array to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input array.

method log(input, msg, level)
  Logs the input array with the specified log level.
  Namespace types: array<box>
  Parameters:
    input (array<box>): The input array to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input array.

method log(input, msg, level)
  Logs the input matrix with the specified log level.
  Namespace types: array<label>
  Parameters:
    input (array<label>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input matrix.

method log(input, msg, level)
  Logs the input matrix with the specified log level.
  Namespace types: matrix<chart.point>
  Parameters:
    input (matrix<chart.point>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input matrix.

method log(input, msg, level)
  Logs the input matrix with the specified log level.
  Namespace types: matrix<float>
  Parameters:
    input (matrix<float>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input matrix.

method log(input, msg, level)
  Logs the input matrix with the specified log level.
  Namespace types: matrix<int>
  Parameters:
    input (matrix<int>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input matrix.

method log(input, msg, level)
  Logs the input matrix with the specified log level.
  Namespace types: matrix<bool>
  Parameters:
    input (matrix<bool>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input matrix.

method log(input, msg, level)
  Logs the input matrix with the specified log level.
  Namespace types: matrix<string>
  Parameters:
    input (matrix<string>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input matrix.

method log(input, msg, level)
  Logs the input matrix with the specified log level.
  Namespace types: matrix<linefill>
  Parameters:
    input (matrix<linefill>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input matrix.

method log(input, msg, level)
  Logs the input matrix with the specified log level.
  Namespace types: matrix<line>
  Parameters:
    input (matrix<line>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input matrix.

method log(input, msg, level)
  Logs the input matrix with the specified log level.
  Namespace types: matrix<box>
  Parameters:
    input (matrix<box>): The input matrix to log.
    msg (string): The message to log. Default is an empty string.
    level (int): The log level (1 - info, 2 - warning, 3 - error). Default is 1.
  Returns: The input matrix.

method log(input, msg, level)
  Namespace types: matrix<label>
  Parameters:
    input (matrix<label>)
    msg (string)
    level (int)
Nota Keluaran:
v2
Nota Keluaran:
v3
Nota Keluaran:
v4


This Library makes it so that you can simply add a method to the end of a variable or function etc.. and have it logged in the Pine Script log section.

Keeping Code clean and readable

.log() can be used to change the log level using the `level` param
1=info
2=warning
3=error

.warn(), .info(), .error()
Can all be used on any variable other than UDTs and can add a string to be logged with the `msg` param
Nota Keluaran:
v5

Perpustakaan Pine

Di dalam semangat sebenar TradingView, pengarang telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka, jadi pengaturcara-pengaturcara Pine yang lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara peribadi atau pada penerbitan-penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini di dalam penerbitan adalah ditadbir oleh Peraturan Dalaman.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Mahu gunakan perpustakaan ini?

Salin garisan ini dan tampalkan ia di dalam skrip anda.